Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning

  • Loading branch information
slouken committed May 26, 2013
1 parent 34ef1bd commit 2fd3269a5a7dc2baba73b7923d70c909a7a1bb77
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/video/windows/SDL_windowskeyboard.c
@@ -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;

@@ -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);

0 comments on commit 2fd3269

Please sign in to comment.