deleted two more files that don't need to be in git
[xboard.git] / xoptions.c
index 6dc6e6d..7e1603e 100644 (file)
@@ -1,28 +1,24 @@
 /*\r
  * xoptions.c -- Move list window, part of X front end for XBoard\r
  *\r
- * Copyright 2000 Free Software Foundation, Inc.\r
- *\r
- * The following terms apply to the enhanced version of XBoard distributed\r
- * by the Free Software Foundation:\r
+ * Copyright 2000,2009 Free Software Foundation, Inc.\r
  * ------------------------------------------------------------------------\r
- * This program is free software; you can redistribute it and/or modify\r
+ *\r
+ * GNU XBoard is free software: you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
+ * the Free Software Foundation, either version 3 of the License, or (at\r
+ * your option) any later version.\r
  *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
+ * GNU XBoard is distributed in the hope that it will be useful, but\r
+ * WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ * General Public License for more details.\r
  *\r
  * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
- * ------------------------------------------------------------------------\r
+ * along with this program. If not, see http://www.gnu.org/licenses/.  *\r
  *\r
- * See the file ChangeLog for a revision history.\r
- */\r
+ *------------------------------------------------------------------------\r
+ ** See the file ChangeLog for a revision history.  */\r
 \r
 // [HGM] this file is the counterpart of woptions.c, containing xboard popup menus\r
 // similar to those of WinBoard, to set the most common options interactively.\r
@@ -1374,7 +1370,7 @@ void SettingsCallback(w, client_data, call_data)
                    XtGetValues(currentCps->option[i].handle, args, 1);\r
                    if(strcmp(currentCps->option[i].textValue, val)) {\r
                        strcpy(currentCps->option[i].textValue, val);\r
-                       sprintf(buf, _("option %s %s\n"), currentCps->option[i].name, val);\r
+                       sprintf(buf, "option %s=%s\n", currentCps->option[i].name, val);\r
                        SendToProgram(buf, currentCps);\r
                    }\r
                    break;\r
@@ -1386,7 +1382,7 @@ void SettingsCallback(w, client_data, call_data)
                    if(j < currentCps->option[i].min) j = currentCps->option[i].min;\r
                    if(currentCps->option[i].value != j) {\r
                        currentCps->option[i].value = j;\r
-                       sprintf(buf, _("option %s %d\n"), currentCps->option[i].name, j);\r
+                       sprintf(buf, "option %s=%d\n", currentCps->option[i].name, j);\r
                        SendToProgram(buf, currentCps);\r
                    }\r
                    break;\r
@@ -1396,14 +1392,14 @@ void SettingsCallback(w, client_data, call_data)
                    XtGetValues(currentCps->option[i].handle, args, 1);\r
                    if(currentCps->option[i].value != j) {\r
                        currentCps->option[i].value = j;\r
-                       sprintf(buf, _("option %s %d\n"), currentCps->option[i].name, j);\r
+                       sprintf(buf, "option %s=%d\n", currentCps->option[i].name, j);\r
                        SendToProgram(buf, currentCps);\r
                    }\r
                    break;\r
                case ComboBox:\r
                    if(currentCps->option[i].value != values[i]) {\r
                        currentCps->option[i].value = values[i];\r
-                       sprintf(buf, _("option %s %s\n"), currentCps->option[i].name, \r
+                       sprintf(buf, "option %s=%s\n", currentCps->option[i].name, \r
                                ((char**)currentCps->option[i].textValue)[values[i]]);\r
                        SendToProgram(buf, currentCps);\r
                    }\r
@@ -1411,13 +1407,13 @@ void SettingsCallback(w, client_data, call_data)
            }\r
        }\r
        if((int)client_data) { // send save-button command to engine\r
-           sprintf(buf, _("option %s\n"), name);\r
+           sprintf(buf, "option %s\n", name);\r
            SendToProgram(buf, currentCps);\r
        }\r
         SettingsPopDown();\r
         return;\r
     }\r
-    sprintf(buf, _("option %s\n"), name);\r
+    sprintf(buf, "option %s\n", name);\r
     SendToProgram(buf, currentCps);\r
 }\r
 \r