Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: 0.95.1 bug summary [gcfclient]



> (2) This is the critical one -- the client seems
> to lose bindings for things like ' and Shift_L.
> It's difficult to play when you lost ' and Shift_L, 
> you know?

Give this a try; it Works For Me. (FYI, I've submitted it, along with some
aestetic changes, to the author)... Btw, Scott, sorry for sending it
twice.

--- client-0.95.1-orig/gx11.c   Sun Nov 29 17:39:47 1998
+++ client-0.95.1/gx11.c        Wed Dec 23 04:32:55 1998
@@ -1253,7 +1252,7 @@
     int present_flags=0;
     char buf[MAX_BUF];
 
-    if (keycode == commandkey && keysym==commandkeysym) {
+    if (keycode == commandkey || keysym==commandkeysym) {
       /*draw_prompt(">");*/
       if (split_windows) {
        gtk_widget_grab_focus (GTK_WIDGET(gtkwin_info));
@@ -2717,7 +2716,7 @@
     color=NDI_BLACK;
   }
 
-  strcpy (last_str, str);
+  strncpy (last_str, str, MAX_BUF-1);
   if (updatelock < 25) {
     updatelock++;



-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]