summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2003-12-22 23:58:23 +0000
committerpixel <pixel>2003-12-22 23:58:23 +0000
commitaa73772b1c58fed81f22972f4a22b4fbfa8e3ce2 (patch)
treed4a1a4090ac997162ddfd9215d43b01a5a61a9e7 /lib
parent8c80d85f8f61f649767cc936cccbc44572d9693d (diff)
Whoops, bug fix
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;