change orientation name in default case

This commit is contained in:
Thomas Fussell 2019-09-15 11:26:39 -04:00
parent a1d46694c1
commit a978e73354

View File

@ -403,7 +403,7 @@ orientation from_string(const std::string &string)
if (string == "default") return orientation::default_orientation; if (string == "default") return orientation::default_orientation;
else if (string == "landscape") return orientation::landscape; else if (string == "landscape") return orientation::landscape;
else if (string == "portrait") return orientation::portrait; else if (string == "portrait") return orientation::portrait;
default_case(orientation::default); default_case(orientation::default_orientation);
} }
} // namespace detail } // namespace detail