diff --git a/src/o_console.c b/src/o_console.c index 3dbb7dd..3a51672 100644 --- a/src/o_console.c +++ b/src/o_console.c @@ -30,7 +30,7 @@ struct ITEN { ITEN *next; }; -SDL_Rect r; +static SDL_Rect r; static void thanks (OBJECT *o); void app_ConsoleDeteteIten (DATA_CONSOLE *data, ITEN *iten); diff --git a/src/o_edit.c b/src/o_edit.c index e8a5915..896aefc 100644 --- a/src/o_edit.c +++ b/src/o_edit.c @@ -14,7 +14,7 @@ typedef struct { int d2; // Position of cursor }DATA_EDIT; -SDL_Rect r; +static SDL_Rect r; int proc_edit (OBJECT *o, int msg, int value) { DATA_EDIT *data = app_GetData(o);