diff options
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -170,7 +170,7 @@ int GetColorFromList(name_list *list_head, const char *name, XClassHint *class, save = Scr->FirstTime; Scr->FirstTime = TRUE; GetColor(Scr->Monochrome, ptr, nptr->ptr); - Scr->FirstTime = save; + Scr->FirstTime = (short)save; return (TRUE); } @@ -182,7 +182,7 @@ int GetColorFromList(name_list *list_head, const char *name, XClassHint *class, save = Scr->FirstTime; Scr->FirstTime = TRUE; GetColor(Scr->Monochrome, ptr, nptr->ptr); - Scr->FirstTime = save; + Scr->FirstTime = (short)save; return (TRUE); } @@ -192,7 +192,7 @@ int GetColorFromList(name_list *list_head, const char *name, XClassHint *class, save = Scr->FirstTime; Scr->FirstTime = TRUE; GetColor(Scr->Monochrome, ptr, nptr->ptr); - Scr->FirstTime = save; + Scr->FirstTime = (short)save; return (TRUE); } } |