SHA256
1
0
forked from pool/ftgl
ftgl/ftgl-2.1.2-same-variable-used-twice.patch

13 lines
370 B
Diff

diff -Naur FTGL.org/demo/FTGLDemo.cpp FTGL/demo/FTGLDemo.cpp
--- FTGL.org/demo/FTGLDemo.cpp 2007-01-22 15:22:39.592135000 +0100
+++ FTGL/demo/FTGLDemo.cpp 2007-01-22 15:23:36.128546000 +0100
@@ -406,7 +406,7 @@
{
myString[carat] = key;
myString[carat + 1] = 0;
- carat = carat > 14 ? 14 : ++carat;
+ carat = carat > 14 ? 14 : carat + 1;
}
}