mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[MSPAINT] Delete unused global variables (lfTextFont, ...
hfontTextFont, hwndEditCtl, textToolText, and textToolTextMaxLen). CORE-18867
This commit is contained in:
parent
cce3eb9393
commit
3625f55fbb
2 changed files with 0 additions and 18 deletions
|
@ -26,11 +26,6 @@ extern ToolsModel toolsModel;
|
|||
class SelectionModel;
|
||||
extern SelectionModel selectionModel;
|
||||
|
||||
extern LOGFONT lfTextFont;
|
||||
extern HFONT hfontTextFont;
|
||||
extern LPTSTR textToolText;
|
||||
extern int textToolTextMaxLen;
|
||||
|
||||
class PaletteModel;
|
||||
extern PaletteModel paletteModel;
|
||||
|
||||
|
|
|
@ -21,12 +21,6 @@ ToolsModel toolsModel;
|
|||
|
||||
SelectionModel selectionModel;
|
||||
|
||||
LOGFONT lfTextFont;
|
||||
HFONT hfontTextFont;
|
||||
HWND hwndEditCtl;
|
||||
LPTSTR textToolText = NULL;
|
||||
int textToolTextMaxLen = 0;
|
||||
|
||||
PaletteModel paletteModel;
|
||||
|
||||
RegistrySettings registrySettings;
|
||||
|
@ -166,13 +160,6 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument
|
|||
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
|
||||
#endif
|
||||
|
||||
/* init font for text tool */
|
||||
ZeroMemory(&lfTextFont, sizeof(lfTextFont));
|
||||
lfTextFont.lfHeight = 0;
|
||||
lfTextFont.lfWeight = FW_NORMAL;
|
||||
lfTextFont.lfCharSet = DEFAULT_CHARSET;
|
||||
hfontTextFont = CreateFontIndirect(&lfTextFont);
|
||||
|
||||
hProgInstance = hThisInstance;
|
||||
|
||||
/* initialize common controls library */
|
||||
|
|
Loading…
Reference in a new issue