Look at the file guipage.cpp:
else if (type == "colorpicker")
{
std:
tring setting, action, name;
std::tr1:
hared_ptr<TEXTURE> cursor, hue, sat, bg;
if (!content.load(texpath, "widgets/color_cursor.png", texinfo, cursor)) return false;
if (!content.load(texpath, "widgets/color_hue.png", texinfo, hue)) return false;
if (!content.load(texpath, "widgets/color_saturation.png", texinfo, sat)) return false;
if (!content.load(texpath, "widgets/color_value.png", texinfo, bg)) return false;
if (!pagefile.GetParam(section, "setting", setting, error_output)) return false;
if (pagefile.GetParam(section, "action", action, error_output)); // <<<< HERE!!!!!!
float x = xy[0] - w / 2;
float y = xy[1] - h / 2;
WIDGET_COLORPICKER * new_widget = new WIDGET_COLORPICKER();
new_widget->SetupDrawable(
sref, cursor, hue, sat, bg, x, y, w, h,
optionmap, setting, error_output, z);
new_widget->SetAction(action);
widgets.push_back(new_widget);
}
You've got an if without any body, Just an ";".
Hope it helps