===========================================================================
| 94 | |
| 95 | //=========================================================================== |
| 96 | static Update_t CmdConfigFontMode(int nArgs) |
| 97 | { |
| 98 | if (nArgs != 2) |
| 99 | return Help_Arg_1(CMD_CONFIG_FONT); |
| 100 | |
| 101 | int nMode = g_aArgs[2].nValue; |
| 102 | |
| 103 | if ((nMode < 0) || (nMode >= NUM_FONT_SPACING)) |
| 104 | return Help_Arg_1(CMD_CONFIG_FONT); |
| 105 | |
| 106 | g_iFontSpacing = nMode; |
| 107 | _UpdateWindowFontHeights(g_aFontConfig[FONT_DISASM_DEFAULT]._nFontHeight); |
| 108 | |
| 109 | return UPDATE_CONSOLE_DISPLAY | UPDATE_DISASM; |
| 110 | } |
| 111 | |
| 112 | //=========================================================================== |
| 113 | bool _CmdConfigFont(int iFont, LPCSTR pFontName, int iPitchFamily, int nFontHeight) |
no test coverage detected