Always save last display mode

This commit is contained in:
jacksonmj
2011-02-19 15:50:25 +00:00
parent a2091ede76
commit e640e2dd42
2 changed files with 1 additions and 1 deletions

View File

@@ -1925,6 +1925,7 @@ void set_cmode(int cm)
{ {
strcpy(itc_msg, "Velocity Display"); strcpy(itc_msg, "Velocity Display");
} }
save_presets(0);
} }
char *download_ui(pixel *vid_buf, char *uri, int *len) char *download_ui(pixel *vid_buf, char *uri, int *len)

View File

@@ -2330,7 +2330,6 @@ int main(int argc, char *argv[])
set_cmode((cmode+(CM_COUNT-1)) % CM_COUNT); set_cmode((cmode+(CM_COUNT-1)) % CM_COUNT);
} }
} }
save_presets(0);
} }
if (x>=(XRES+BARSIZE-(510-494)) && x<=(XRES+BARSIZE-(510-509)) && !bq) if (x>=(XRES+BARSIZE-(510-494)) && x<=(XRES+BARSIZE-(510-509)) && !bq)
sys_pause = !sys_pause; sys_pause = !sys_pause;