Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 26, 2013
1 parent 34ef1bd commit 2fd3269
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/video/windows/SDL_windowskeyboard.c
Expand Up @@ -1351,7 +1351,6 @@ IME_RenderCandidateList(SDL_VideoData *videodata, HDC hdc)
SIZE candsizes[MAX_CANDLIST];
SIZE maxcandsize = {0};
HBITMAP hbm = NULL;
BYTE *bits = NULL;
const int candcount = SDL_min(SDL_min(MAX_CANDLIST, videodata->ime_candcount), videodata->ime_candpgsize);
SDL_bool vertical = videodata->ime_candvertical;

Expand Down Expand Up @@ -1433,7 +1432,7 @@ IME_RenderCandidateList(SDL_VideoData *videodata, HDC hdc)
;
}

bits = StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);
StartDrawToBitmap(hdc, &hbm, size.cx, size.cy);

SelectObject(hdc, listpen);
SelectObject(hdc, listbrush);
Expand Down

0 comments on commit 2fd3269

Please sign in to comment.