summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-10-23 21:16:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-10-23 21:16:35 (GMT)
commit4563123b929366e93973a1d6aa3269bd7b3f47d6 (patch)
tree0ffd8d788adb9228c137254f8817c4397a280b16 /src/core
parentacbd3ac3899bd1230097df2f1afea6c3690a5cb8 (diff)
Indented code labels in the assembly views.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/params.c3
-rw-r--r--src/core/params.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c
index 8cc7b3a..d71a0eb 100644
--- a/src/core/params.c
+++ b/src/core/params.c
@@ -204,6 +204,9 @@ bool load_main_config_parameters(void)
param = g_generic_config_create_param(config, MPK_WELCOME_CHECK, CPT_BOOLEAN, false);
if (param == NULL) return false;
+ param = g_generic_config_create_param(config, MPK_LABEL_OFFSET, CPT_INTEGER, 10);
+ if (param == NULL) return false;
+
param = g_generic_config_create_param(config, MPK_SELECTION_LINE, CPT_BOOLEAN, true);
if (param == NULL) return false;
diff --git a/src/core/params.h b/src/core/params.h
index bcb6f53..da9dcb9 100644
--- a/src/core/params.h
+++ b/src/core/params.h
@@ -62,6 +62,7 @@
#define MPK_ELLIPSIS_TAB "gui.editor.panels.ellipsis_tab"
#define MPK_WELCOME_STARTUP "gui.editor.panels.welcome.show_at_startup"
#define MPK_WELCOME_CHECK "gui.editor.panels.welcome.check_version"
+#define MPK_LABEL_OFFSET "gui.editor.views.label_offset"
#define MPK_SELECTION_LINE "gui.editor.views.selection_line"
#define MPK_TOOLTIP_MAX_CALLS "gui.editor.views.tooltip_max_calls"
#define MPK_TOOLTIP_MAX_STRINGS "gui.editor.views.tooltip_max_strings"