mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
Fix the build error
This commit is contained in:
parent
285172e36b
commit
bb175082d2
@ -650,8 +650,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
|
|
||||||
case NPPM_INTERNAL_CHANGETABBAEICONS:
|
case NPPM_INTERNAL_CHANGETABBAEICONS:
|
||||||
{
|
{
|
||||||
_mainDocTab.changeIcons(lParam);
|
_mainDocTab.changeIcons(static_cast<unsigned char>(lParam));
|
||||||
_subDocTab.changeIcons(lParam);
|
_subDocTab.changeIcons(static_cast<unsigned char>(lParam));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ public :
|
|||||||
TabBarPlus::destroy();
|
TabBarPlus::destroy();
|
||||||
};
|
};
|
||||||
|
|
||||||
void init(HINSTANCE hInst, HWND parent, ScintillaEditView * pView, std::vector<IconList *> pIconListVector, size_t indexChoice) {
|
void init(HINSTANCE hInst, HWND parent, ScintillaEditView * pView, std::vector<IconList *> pIconListVector, unsigned char indexChoice) {
|
||||||
TabBarPlus::init(hInst, parent);
|
TabBarPlus::init(hInst, parent);
|
||||||
_pView = pView;
|
_pView = pView;
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ public :
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
void changeIcons(size_t choice) {
|
void changeIcons(unsigned char choice) {
|
||||||
if (choice >= _pIconListVector.size())
|
if (choice >= _pIconListVector.size())
|
||||||
return;
|
return;
|
||||||
_iconListIndexChoice = choice;
|
_iconListIndexChoice = choice;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user