diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-02 20:19:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-02 20:19:18 +0000 |
commit | aeae01dc50a5adea8fe003c8195540b1f2b2169f (patch) | |
tree | 2c8f055fc562f9365e00577147fefb1a609b51c8 /plugins/Scriver/src/utils.h | |
parent | 7cc46e2ce850957887aa75146585bca56b10695d (diff) |
more transparent implementation of AppendToBuffer
git-svn-id: http://svn.miranda-ng.org/main/trunk@11222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/utils.h')
-rw-r--r-- | plugins/Scriver/src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/utils.h b/plugins/Scriver/src/utils.h index 5f9f4afee8..bcb81d4a49 100644 --- a/plugins/Scriver/src/utils.h +++ b/plugins/Scriver/src/utils.h @@ -48,7 +48,7 @@ int SetRichTextEncoded(HWND hwnd, const char *text, int codepage); void SearchWord(TCHAR * word, int engine);
HDWP ResizeToolbar(HWND hwnd, HDWP hdwp, int width, int vPos, int height, int cControls, const ToolbarButton * buttons, int controlVisibility);
void ShowToolbarControls(HWND hwndDlg, int cControls, const ToolbarButton * buttons, int controlVisibility, int state);
-void AppendToBuffer(char **buffer, int *cbBufferEnd, int *cbBufferAlloced, const char *fmt, ...);
+void AppendToBuffer(char *&buffer, size_t &cbBufferEnd, size_t &cbBufferAlloced, const char *fmt, ...);
int MeasureMenuItem(WPARAM wParam, LPARAM lParam);
int DrawMenuItem(WPARAM wParam, LPARAM lParam);
void SetSearchEngineIcons(HMENU hMenu, HIMAGELIST hImageList);
|