Changeset - r11283:69678a6bd7ef
[Not reviewed]
master
0 1 0
truebrain - 15 years ago 2009-03-07 20:53:32
truebrain@openttd.org
(svn r15637) -Fix: when you try to protect something from doing something it shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -294,7 +294,7 @@ static void HandleBiDiAndArabicShapes(ch
 

	
 
	char *t = buffer;
 
	size_t length = 0;
 
	while (*t != '\0' && length < lengthof(input_output)) {
 
	while (*t != '\0' && length < lengthof(input_output) - 1) {
 
		WChar tmp;
 
		t += Utf8Decode(&tmp, t);
 
		input_output[length++] = tmp;
0 comments (0 inline, 0 general)