diff options
| author | Stijn Buys <ingar@osirion.org> | 2010-11-11 01:12:25 +0000 | 
|---|---|---|
| committer | Stijn Buys <ingar@osirion.org> | 2010-11-11 01:12:25 +0000 | 
| commit | c5ecf465005314537ccc6173fc0b3dfd3a7b4a63 (patch) | |
| tree | 794c4d0d7f62493d68bb3336d29e8b0760413a8f /src | |
| parent | 95f344ad62a4ab1aaf4b4d3307ce9805e2534d8e (diff) | |
updated documentation,
added FIXME,
corrected trivial compile error
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/chat.cc | 2 | ||||
| -rw-r--r-- | src/client/video.cc | 5 | 
2 files changed, 6 insertions, 1 deletions
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();  | 
