Search
lxdream.org :: lxdream/src/tools/genglsl.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/tools/genglsl.c
changeset 1169:23a9613aceb1
prev1153:00e507e4025c
next1207:f7ca985659c6
author Nathan Keynes <nkeynes@lxdream.org>
date Thu Apr 07 21:42:55 2011 +1000 (8 years ago)
permissions -rw-r--r--
last change Add german translation update from Riemann80, thanks!
file annotate diff log raw
1.1 --- a/src/tools/genglsl.c Thu Dec 23 18:14:29 2010 +1000
1.2 +++ b/src/tools/genglsl.c Thu Apr 07 21:42:55 2011 +1000
1.3 @@ -254,7 +254,7 @@
1.4 if( oldext == NULL ) {
1.5 return g_strdup_printf("%s%s", basename, ext);
1.6 } else {
1.7 - return g_strdup_printf("%.*s%s", oldext-basename, basename, ext);
1.8 + return g_strdup_printf("%.*s%s", (int)(oldext-basename), basename, ext);
1.9 }
1.10 }
1.11
.