rnd-20060407-2-src
[rocksndiamonds.git] / src / editor.c
index 9e29e561f0e281da4447b8fa761ee2628ba5c69f..23c38b2110246d59d90559edad5f19f75e78871b 100644 (file)
@@ -1751,6 +1751,8 @@ static struct ValueTextInfo options_action_arg_number[] =
   { CA_ARG_4,                  "4"                             },
   { CA_ARG_5,                  "5"                             },
   { CA_ARG_10,                 "10"                            },
+  { CA_ARG_100,                        "100"                           },
+  { CA_ARG_1000,               "1000"                          },
   { CA_ARG_UNDEFINED,          " "                             },
   { CA_ARG_NUMBER_MIN,         "min"                           },
   { CA_ARG_NUMBER_MAX,         "max"                           },
@@ -1786,6 +1788,8 @@ static struct ValueTextInfo options_action_arg_value[] =
   { CA_ARG_4,                  "4"                             },
   { CA_ARG_5,                  "5"                             },
   { CA_ARG_10,                 "10"                            },
+  { CA_ARG_100,                        "100"                           },
+  { CA_ARG_1000,               "1000"                          },
   { CA_ARG_UNDEFINED,          " "                             },
   { CA_ARG_NUMBER_MIN,         "min"                           },
   { CA_ARG_NUMBER_MAX,         "max"                           },
@@ -4626,7 +4630,7 @@ static void ReinitializeElementList()
       if (element >= NUM_FILE_ELEMENTS)
        Error(ERR_WARN, "editor element %d is runtime element", element);
 
-      if (strcmp(getElementInfoText(element), INFOTEXT_UNKNOWN_ELEMENT) == 0)
+      if (strEqual(getElementInfoText(element), INFOTEXT_UNKNOWN_ELEMENT))
        Error(ERR_WARN, "no element description for element %d", element);
     }
   }