fixed setting effective window scaling value in window title
authorHolger Schemel <info@artsoft.org>
Thu, 21 Apr 2016 22:54:25 +0000 (00:54 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 21 Apr 2016 22:54:25 +0000 (00:54 +0200)
src/config.c

index 2e90887055567ac070a36b5527d6ca98697dc473..0eb51d2ec27db76cde56521cff216f2332db4379 100644 (file)
@@ -65,13 +65,13 @@ char *getWindowTitleString()
                                       strlen(getCompileDateString()) + 2 + 1);
 
   sprintf(window_title_string, "%s (%d %%) [%s]",
-         getProgramInitString(), setup.window_scaling_percent,
+         getProgramInitString(), video.window_scaling_percent,
          getCompileDateString());
 #else
   window_title_string = checked_malloc(strlen(getProgramInitString()) + 20);
 
   sprintf(window_title_string, "%s (%d %%)",
-         getProgramInitString(), setup.window_scaling_percent);
+         getProgramInitString(), video.window_scaling_percent);
 #endif
 
 #else