Skip to content

Commit

Permalink
Merge branch 'upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisboyle committed Aug 17, 2015
2 parents 4b46d70 + dd9e24a commit 4bc3864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion not-in-use/emccpre.js
Expand Up @@ -333,6 +333,7 @@ function initPuzzle() {
resize_xbase = null;
resize_ybase = null;
onscreen_canvas.focus(); // return focus to the puzzle
event.preventDefault();
} else if (restore_pending) {
// If you have the puzzle at larger than normal size and
// then right-click to restore, I haven't found any way to
Expand All @@ -345,8 +346,8 @@ function initPuzzle() {
restore_puzzle_size();
onscreen_canvas.focus();
}, 20);
event.preventDefault();
}
event.preventDefault();
});

// Run the C setup function, passing argv[1] as the fragment
Expand Down
2 changes: 1 addition & 1 deletion not-in-use/windows.c
Expand Up @@ -608,7 +608,7 @@ static void win_draw_text(void *handle, int x, int y, int fonttype,
HFONT oldfont;
TEXTMETRIC tm;
SIZE size;
TCHAR wText[256];
WCHAR wText[256];
MultiByteToWideChar (CP_UTF8, 0, text, -1, wText, 256);

oldfont = SelectObject(fe->hdc, fe->fonts[i].font);
Expand Down

0 comments on commit 4bc3864

Please sign in to comment.