Fixed building and using fcitx IME support on Linux

This commit is contained in:
Sam Lantinga 2016-10-08 11:30:07 -07:00
parent 27d4f09929
commit 42f85aa29e
4 changed files with 44 additions and 28 deletions

View file

@ -62,7 +62,7 @@ static int
GetDisplayNumber()
{
const char *display = SDL_getenv("DISPLAY");
const char *p = NULL;;
const char *p = NULL;
int number = 0;
if (display == NULL)