diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-28 20:06:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-28 20:06:35 +0000 |
commit | 790f2dcf2ba090ce24b83a14228abef564557b91 (patch) | |
tree | 783a903d130bbb3d9bd1abe8aa44ae92d334b822 /plugins/WebView/src/main.cpp | |
parent | 28412b4c61183eb1b33adeee5dbc8e9cefc92d9f (diff) |
some missing SIZEOFs
git-svn-id: http://svn.miranda-ng.org/main/trunk@5518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WebView/src/main.cpp')
-rw-r--r-- | plugins/WebView/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index 2678c19031..91b00dba30 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -153,7 +153,7 @@ extern "C" int __declspec(dllexport) Load() mir_getLP(&pluginInfoEx);
mir_getCLI();
- strncpy_s(optionsname, MODULENAME, sizeof(optionsname));
+ strncpy_s(optionsname, MODULENAME, SIZEOF(optionsname));
optionsname[0] = toupper(optionsname[0]);
HookEvent(ME_CLIST_DOUBLECLICKED, Doubleclick);
|