Skip to content

Commit

Permalink
cwesnoth: Disable SDL stdio redirection
Browse files Browse the repository at this point in the history
We can do this using an environment variable. Too bad doing so doesn't
give us a console, otherwise this whole hack wouldn't be necessary in the
first place.
  • Loading branch information
irydacea committed Apr 25, 2015
1 parent 8d2609f commit c1fad73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cwesnoth.cmd
@@ -1 +1,6 @@
@echo off
set SDL_STDIO_REDIRECT=0
@wesnoth --wconsole %*

rem Drop this from environment for future runs on the same session.
set SDL_STDIO_REDIRECT=

0 comments on commit c1fad73

Please sign in to comment.