Browse Source

Correct typo

pull/1095/head
Anders Jenbo 5 years ago
parent
commit
b8e38ec560
  1. 2
      SourceX/DiabloUI/selgame.cpp
  2. 2
      SourceX/dx.cpp

2
SourceX/DiabloUI/selgame.cpp

@ -393,7 +393,7 @@ static bool IsGameCompatible(GameData *data)
selgame_Free();
if (data->programid != GAME_ID) {
UiSelOkDialog(title, "The host is running a different game then you.", false);
UiSelOkDialog(title, "The host is running a different game than you.", false);
} else {
char msg[64];
sprintf(msg, "Your version %s does not match the host %d.%d.%d.", PROJECT_VERSION, PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR, PROJECT_VERSION_PATCH);

2
SourceX/dx.cpp

@ -276,7 +276,7 @@ void RenderPresent()
// Clear buffer to avoid artifacts in case the window was resized
#ifndef __vita__
// There's no window resizing on vita, so texture always properly overwrites display area.
// Thus, there's no need to clear the screen and unnecessary modify sdl render context state.
// Thus, there's no need to clear the screen and unnecessarily modify sdl render context state.
if (SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255) <= -1) { // TODO only do this if window was resized
ErrSdl();
}

Loading…
Cancel
Save