summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/gui/charselectdialog.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48e63788..2a7fc894 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules)
FIND_PACKAGE(Gettext)
+# Help getting compilation warnings
+set(CMAKE_CXX_FLAGS "-g -Wall")
+
OPTION(WITH_OPENGL "Enable OpenGL support" ON)
OPTION(ENABLE_NLS "Enable building of tranlations" ON)
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index e9c2551f..65d87029 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -277,7 +277,7 @@ bool CharSelectDialog::chooseSelected()
setVisible(false);
attemptCharSelect();
-
+
return true;
}