diff options
Diffstat (limited to 'src/lx_panel.c')
-rw-r--r-- | src/lx_panel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lx_panel.c b/src/lx_panel.c index 6387a34..3a0e363 100644 --- a/src/lx_panel.c +++ b/src/lx_panel.c @@ -91,6 +91,7 @@ LXGetLegacyPanelMode(void) if (ret < 7) return &lx_panel_modes[ret]; + } return NULL; @@ -135,5 +136,7 @@ LXGetManualPanelMode(char *modestr) mode->VSyncEnd = vsend; mode->VTotal = vtotal; + mode->prev = mode->next = NULL; + return mode; } |