mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
"or" should be "||". Don't use "or", "and", etc.. It breaks build.
This commit is contained in:
parent
46d431e7c3
commit
099d7ff2ad
@ -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(";");
|
||||
|
Loading…
Reference in New Issue
Block a user