fix spelling errors

Signed-off-by: Shengjing Zhu <i@zhsj.me>
This commit is contained in:
Shengjing Zhu 2018-06-08 14:59:05 +08:00
commit bbf1ffb8db
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ std::shared_ptr<BasePlatform> create(const std::string &name,
if (name == "sdl")
return std::make_shared<sdl::Platform>(input_manager, display_frame, single_window);
WARNING("Unsupported platfrom '%s'", name);
WARNING("Unsupported platform '%s'", name);
return nullptr;
}

View file

@ -93,7 +93,7 @@ Window::Window(const std::shared_ptr<Renderer> &renderer,
#endif
default:
ERROR("Unknown subsystem (%d)", info.subsystem);
BOOST_THROW_EXCEPTION(std::runtime_error("SDL subsystem not suported"));
BOOST_THROW_EXCEPTION(std::runtime_error("SDL subsystem not supported"));
}
SDL_ShowWindow(window_);