Skip to content

Commit

Permalink
Typo in my previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zahniser authored and TJesionowski committed Oct 2, 2018
1 parent 9fa1565 commit deadecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.

#include "gl_header.h"
#include <SDL2/SDL.h>
#ifndef __linux__
#ifdef __linux__
namespace X {
// Some X11 class names introduce conflicts in the global namespace.
#include <SDL2/SDL_syswm.h>
Expand Down Expand Up @@ -413,7 +413,7 @@ void SetIcon(SDL_Window *window)
// Free the image buffer.
delete buffer;

#ifndef __linux__
#ifdef __linux__
// If this is an X11 window, set the icon name hint.
X::SDL_SysWMinfo info;
SDL_GetWindowWMInfo(window, &info);
Expand Down

0 comments on commit deadecf

Please sign in to comment.