jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Text window which never closes when opened by 'T' #333

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On the Windows build, open the Text window(tool) by using the shortcut, ie.
'T' by default. Then whatever you do, as soon as the window closes, it
re-opens instantly. The program is completely stuck.

This only happens on the Windows build, which I compiled with -O2 for the
release.
Compiled with -O0 (as I do normally, including all WIPs), the problem
doesn't appear.
I upgraded the compiler to gcc 4.4.1 TDM-2, and... the problem appears with
-O0 now.

Original issue reported on code.google.com by yrizoud on 27 Mar 2010 at 11:36

GoogleCodeExporter commented 9 years ago
Fixed in r1425 on trunk.
Apparently, the shadowing of global variable "Key" was causing a problem.

Original comment by yrizoud on 27 Mar 2010 at 11:56