projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbee128
)
fixed setting effective window scaling value in window title
author
Holger Schemel
<info@artsoft.org>
Thu, 21 Apr 2016 22:54:25 +0000
(
00:54
+0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 21 Apr 2016 22:54:25 +0000
(
00:54
+0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index 2e90887055567ac070a36b5527d6ca98697dc473..0eb51d2ec27db76cde56521cff216f2332db4379 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-65,13
+65,13
@@
char *getWindowTitleString()
strlen(getCompileDateString()) + 2 + 1);
sprintf(window_title_string, "%s (%d %%) [%s]",
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 %%)",
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
#endif
#else