aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winprefslex.l
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/winprefslex.l')
-rw-r--r--xorg-server/hw/xwin/winprefslex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winprefslex.l b/xorg-server/hw/xwin/winprefslex.l
index 66d12ede7..ff4459fda 100644
--- a/xorg-server/hw/xwin/winprefslex.l
+++ b/xorg-server/hw/xwin/winprefslex.l
@@ -43,7 +43,7 @@ extern int yyparse(void);
static char *makestr(char *str)
{
char *ptr;
- ptr = (char*)malloc (strlen(str)+1);
+ ptr = malloc(strlen(str)+1);
if (!ptr)
{
ErrorF ("winMultiWindowLex:makestr() out of memory\n");
@@ -88,6 +88,7 @@ ALWAYSONTOP { return ALWAYSONTOP; }
DEBUG { return DEBUGOUTPUT; }
RELOAD { return RELOAD; }
TRAYICON { return TRAYICON; }
+FORCEEXIT { return FORCEEXIT; }
SILENTEXIT { return SILENTEXIT; }
"{" { return LB; }
"}" { return RB; }