GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * shoes/native/windows.c: bug in the windows' control state. swap the 
 boolean value.
why (author)
Sat Oct 11 08:19:04 -0700 2008
commit  885d41053202b3d4fa6a6dd74864a645767b0f05
tree    c554ba1009de0c045bd55b24a47db651ba94e3ae
parent  3f646dcff75586e5221bcb3277c12a21e95defa2
...
1081
1082
1083
1084
 
1085
1086
1087
...
1081
1082
1083
 
1084
1085
1086
1087
0
@@ -1081,7 +1081,7 @@ void
0
 shoes_native_control_state(SHOES_CONTROL_REF ref, BOOL sensitive, BOOL setting)
0
 {
0
   EnableWindow(ref, sensitive);
0
- SendMessage(ref, EM_SETREADONLY, setting, 0);
0
+ SendMessage(ref, EM_SETREADONLY, !setting, 0);
0
 }
0
 
0
 void

Comments

    No one has commented yet.