From: <kla...@us...> - 2017-06-21 18:02:25
|
Revision: 13730 http://sourceforge.net/p/vegastrike/code/13730 Author: klaussfreire Date: 2017-06-21 18:02:22 +0000 (Wed, 21 Jun 2017) Log Message: ----------- GCC 7 fix: cannot return a char, must use char* Modified Paths: -------------- trunk/vegastrike/src/gui/text_area.cpp Modified: trunk/vegastrike/src/gui/text_area.cpp =================================================================== --- trunk/vegastrike/src/gui/text_area.cpp 2017-06-21 16:42:42 UTC (rev 13729) +++ trunk/vegastrike/src/gui/text_area.cpp 2017-06-21 18:02:22 UTC (rev 13730) @@ -243,7 +243,7 @@ { TextAreaItem *search; search = ItemList->FindCount( cur_selected, 0 ); - if (search == 0) return '\0'; + if (search == 0) return "\0"; if (type == 1) return search->name; else return search->description; |