[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/editor editor_main.cpp
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/editor editor_main.cpp |
Date: |
Wed, 26 Jan 2005 15:36:24 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 05/01/26 20:36:24
Modified files:
src/editor : editor_main.cpp
Log message:
made editor to work with zipios
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/editor/editor_main.cpp.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
Patches:
Index: wesnoth/src/editor/editor_main.cpp
diff -u wesnoth/src/editor/editor_main.cpp:1.23
wesnoth/src/editor/editor_main.cpp:1.24
--- wesnoth/src/editor/editor_main.cpp:1.23 Thu Jan 20 20:50:30 2005
+++ wesnoth/src/editor/editor_main.cpp Wed Jan 26 20:36:24 2005
@@ -139,6 +139,11 @@
bind_textdomain_codeset (PACKAGE "-lib", "UTF-8");
textdomain (PACKAGE "-editor");
+ if (!filesystem_init()) {
+ std::cerr << "cannot init filesystem code\n";
+ return 1;
+ }
+
// Blatant cut and paste from game.cpp
image::set_wm_icon();
int video_flags = preferences::fullscreen() ? FULL_SCREEN : 0;