Removed a couple warnings caused by a misplaced define

This commit is contained in:
Vatiken 2012-05-30 04:30:36 +00:00
parent 4572a874b4
commit 09f497b0b3
2 changed files with 3 additions and 4 deletions

View file

@ -18,10 +18,6 @@
#include "improved-edit.h" #include "improved-edit.h"
#include "modify.h" #include "modify.h"
#define CHECK_VAR(var) ((var == YES) ? "Yes" : "No")
#define TOGGLE_VAR(var) if (var == YES) { var = NO; } else { var = YES; }
/* local scope functions, not used externally */ /* local scope functions, not used externally */
static void cedit_disp_menu(struct descriptor_data *d); static void cedit_disp_menu(struct descriptor_data *d);
static void cedit_save_internally(struct descriptor_data *d); static void cedit_save_internally(struct descriptor_data *d);

View file

@ -28,6 +28,9 @@
to adjust these numbers if you ever add more. Note: Most of the NUM_ and to adjust these numbers if you ever add more. Note: Most of the NUM_ and
MAX_ limits have been moved to more appropriate locations. */ MAX_ limits have been moved to more appropriate locations. */
#define TOGGLE_VAR(var) if (var == YES) { var = NO; } else { var = YES; }
#define CHECK_VAR(var) ((var == YES) ? "Yes" : "No")
#define MAX_PEOPLE 10 /* Max # of people you want to sit in furniture. */ #define MAX_PEOPLE 10 /* Max # of people you want to sit in furniture. */
/* Limit information. */ /* Limit information. */