From c5ecf465005314537ccc6173fc0b3dfd3a7b4a63 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 11 Nov 2010 01:12:25 +0000 Subject: updated documentation, added FIXME, corrected trivial compile error --- src/client/chat.cc | 2 +- src/client/video.cc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/chat.cc b/src/client/chat.cc index 013d525..bdce6d8 100644 --- a/src/client/chat.cc +++ b/src/client/chat.cc @@ -181,7 +181,7 @@ void Chat::update_player_list() for (core::GameInterface::Players::const_iterator it = core::game()->players().begin(); it != core::game()->players().end(); it++) { ui::ListItem *listitem = new ui::ListItem(chat_playerlist, (*it)->name().c_str()); listitem->set_height(listitem->font()->height() * 1.5f); - listitem->set_sortkey(aux::text_strip_lowercase((*it)->name()); + listitem->set_sortkey(aux::text_strip_lowercase((*it)->name())); } chat_playerlist->sort(); diff --git a/src/client/video.cc b/src/client/video.cc index cd675f7..330ba6b 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -88,6 +88,11 @@ bool init() // set the window icon + /* + * FIXME + * store the icon as binary data + * and use SDL_CreateRGBSurfaceFrom to create the icon + */ filesystem::File *iconfile = filesystem::open("bitmaps/icon.bmp"); if (iconfile) { std::string iconfilename = iconfile->path(); -- cgit v1.2.3