mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
Corrects an error in a debug message
* This happened during the last edit.
This commit is contained in:
parent
29f1d6cd42
commit
0674e04597
1 changed files with 2 additions and 2 deletions
|
@ -737,7 +737,7 @@ int run()
|
||||||
DEBUG_INFO("Wayland detected");
|
DEBUG_INFO("Wayland detected");
|
||||||
int err = setenv("SDL_VIDEODRIVER", "wayland", 1);
|
int err = setenv("SDL_VIDEODRIVER", "wayland", 1);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
DEBUG_ERROR("Unable to set the env variable SDL_VIDEODRIVER: %d", errno);
|
DEBUG_ERROR("Unable to set the env variable SDL_VIDEODRIVER: %d", err);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
DEBUG_INFO("SDL_VIDEODRIVER has been set to wayland");
|
DEBUG_INFO("SDL_VIDEODRIVER has been set to wayland");
|
||||||
|
@ -1654,4 +1654,4 @@ int main(int argc, char * argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue