version 1.11 | | version 1.12 |
---|
| | |
} | | } |
| | |
static void getReset (object *ob, char *str, XtPointer c) { | | static void getReset (object *ob, char *str, XtPointer c) { |
sprintf(str,"%ld", ob->weight); | | sprintf(str,"%d", ob->weight); |
} | | } |
| | |
static void getDarkness (object *ob, char *str, XtPointer c) { | | static void getDarkness (object *ob, char *str, XtPointer c) { |
| | |
return strdup_local (buf); | | return strdup_local (buf); |
} | | } |
| | |
| | #if 0 |
static char * MapNameCreate (String path) | | static char * MapNameCreate (String path) |
{ | | { |
char name[PATH_MAX+1]; | | char name[PATH_MAX+1]; |
| | |
if(name[j] == '.') name[j] = 0; | | if(name[j] == '.') name[j] = 0; |
return strdup_local (&name[i]); | | return strdup_local (&name[i]); |
} | | } |
| | #endif |
/********************************************************************** | | /********************************************************************** |
* Options - menu | | * Options - menu |
**********************************************************************/ | | **********************************************************************/ |