Skip to content

Commit 9f95516

Browse files
committed
replace json_bool 'TRUE' that is net exported anymore with '1'
1 parent 07f6fa1 commit 9f95516

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lingot-io-ui-settings.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ int lingot_io_ui_settings_init()
3535
{
3636
// default values
3737
ui_settings.app_version = NULL;
38-
ui_settings.spectrum_visible = TRUE;
39-
ui_settings.gauge_visible = TRUE;
38+
ui_settings.spectrum_visible = 1;
39+
ui_settings.gauge_visible = 1;
4040
ui_settings.win_pos_x = -1;
4141
ui_settings.win_pos_y = -1;
4242
ui_settings.win_width = 480;
@@ -60,7 +60,7 @@ int lingot_io_ui_settings_init()
6060
}
6161

6262
json_object* obj;
63-
json_bool ok = TRUE;
63+
json_bool ok = 1;
6464

6565
ok = json_object_object_get_ex(doc, "appVersion", &obj);
6666
if (ok) {

0 commit comments

Comments
 (0)