提交 bbf1ffb8 编写于 作者: S Shengjing Zhu

fix spelling errors

Signed-off-by: NShengjing Zhu <i@zhsj.me>
上级 a88faed6
......@@ -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;
}
......
......@@ -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_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册