diff --git a/ext/mupdf_load_system_font.c b/ext/mupdf_load_system_font.c index d39197daec8..5c9860cc779 100644 --- a/ext/mupdf_load_system_font.c +++ b/ext/mupdf_load_system_font.c @@ -903,7 +903,8 @@ static fz_font* load_windows_fallback_font(fz_context* ctx, int script, int lang } if (!font_name) { - fz_warn(ctx, "couldn't find windows system font for script %d, language: %d, bold: %d, italic: %d", script, language, (int)bold, (int)italic); + fz_warn(ctx, "couldn't find windows system font for script %d, language: %d, bold: %d, italic: %d", script, + language, (int)bold, (int)italic); return NULL; } diff --git a/src/Accelerators.cpp b/src/Accelerators.cpp index 381b9d862ba..d88a87fd583 100644 --- a/src/Accelerators.cpp +++ b/src/Accelerators.cpp @@ -458,6 +458,12 @@ static const char* getVirt(BYTE key, bool isEng) { case VK_SCROLL: // TODO: ??? return "Scroll"; + case VK_VOLUME_DOWN: + // TODO: ??? + return "Volume Down"; + case VK_VOLUME_UP: + // TODO: ??? + return "Volume Up"; } /* TOOD: add those as well? @@ -470,8 +476,6 @@ static const char* getVirt(BYTE key, bool isEng) { #define VK_BROWSER_HOME 0xAC #define VK_VOLUME_MUTE 0xAD - #define VK_VOLUME_DOWN 0xAE - #define VK_VOLUME_UP 0xAF #define VK_MEDIA_NEXT_TRACK 0xB0 #define VK_MEDIA_PREV_TRACK 0xB1 #define VK_MEDIA_STOP 0xB2