diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp index 2e2d8ec652..4e78f1c789 100644 --- a/plugins/Clist_modern/src/modern_skinbutton.cpp +++ b/plugins/Clist_modern/src/modern_skinbutton.cpp @@ -142,15 +142,15 @@ static int ModernSkinButtonPaintWorker(HWND hwnd, HDC whdc) } case 'd': defval = db_get_dw(NULL, section, key, defval); - Value = mir_strdup(_ltoa(defval, buf, SIZEOF(buf))); + Value = mir_strdup(_ltoa(defval, buf, _countof(buf))); break; case 'w': defval = db_get_w(NULL, section, key, defval); - Value = mir_strdup(_ltoa(defval, buf, SIZEOF(buf))); + Value = mir_strdup(_ltoa(defval, buf, _countof(buf))); break; case 'b': defval = db_get_b(NULL, section, key, defval); - Value = mir_strdup(_ltoa(defval, buf, SIZEOF(buf))); + Value = mir_strdup(_ltoa(defval, buf, _countof(buf))); break; } mir_free(section); |