Merge pull request #751 from zhsj/fix-spell

fix spelling errors
This commit is contained in:
Simon Fels 2018-06-08 17:46:56 +02:00 committed by GitHub
commit 2d979b8a1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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_);