diff options
Diffstat (limited to 'src/config-file.c')
-rw-r--r-- | src/config-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config-file.c b/src/config-file.c index 99c7059..5ea5c29 100644 --- a/src/config-file.c +++ b/src/config-file.c @@ -434,14 +434,14 @@ int nv_write_config_file(const char *filename, CtrlHandles *h, (p->display_device_mask); fprintf(stream, "%s%s%c%s[%s]=%d\n", p->display, target_str, - DISPLAY_NAME_SEPARATOR, tmp, tmp_d_str, p->val); + DISPLAY_NAME_SEPARATOR, tmp, tmp_d_str, p->val.i); free(tmp_d_str); } else { fprintf(stream, "%s%s%c%s=%d\n", p->display, target_str, - DISPLAY_NAME_SEPARATOR, tmp, p->val); + DISPLAY_NAME_SEPARATOR, tmp, p->val.i); } p = p->next; |