summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
-rw-r--r--lib/base.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f7fd3be..efef19c 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -6,4 +6,5 @@ INCLUDES = -I.. -I../include -I$(includedir)
lib_LTLIBRARIES = libmogltk.la
libmogltk_la_SOURCES = engine.cc glbase.cc glfont.cc glsprite.cc \
-glshape.cc glwidgets.cc sprite.cc base.cc font.cc shape.cc mcolor.cc texture.cc
+glshape.cc glwidgets.cc sprite.cc base.cc font.cc shape.cc mcolor.cc \
+texture.cc widgets.cc
diff --git a/lib/base.cc b/lib/base.cc
index 5282617..7a6c854 100644
--- a/lib/base.cc
+++ b/lib/base.cc
@@ -18,7 +18,7 @@ mogltk::base::base(int w, int h, int flags) throw(GeneralException) : surface(0)
}
if (!(surface = SDL_SetVideoMode(width, height, 0, flags))) {
- throw GeneralException(String("Couldn't set GL mode: ") + SDL_GetError());
+ throw GeneralException(String("Couldn't set SDL mode: ") + SDL_GetError());
}
mogltk::engine::base_o = this;