Skip to content
Snippets Groups Projects
Commit 099d7ff2 authored by Ilya Zhuravlev's avatar Ilya Zhuravlev
Browse files

"or" should be "||". Don't use "or", "and", etc.. It breaks build.

parent 46d431e7
No related branches found
No related tags found
No related merge requests found
......@@ -318,7 +318,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
errorstream<<"WARNING: invalid use of background without a size[] element"<<std::endl;
m_backgrounds.push_back(ImageDrawSpec(name, pos, geom));
}
else if(type == "field" or type == "textarea")
else if(type == "field" || type == "textarea")
{
std::string fname = f.next(";");
std::string flabel = f.next(";");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment