summaryrefslogtreecommitdiff
path: root/src/gui/gui-action.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-02-02 21:12:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-02-02 21:12:16 +0100
commit28e811c09c5f32833906a5025137c947b2b7e0f6 (patch)
tree6a8357408cf85d16a6814a0bee2fbb5c57aa5919 /src/gui/gui-action.c
parentd7cc27f713e02c2047f5d6085ec8e5d48b802522 (diff)
downloadweechat-28e811c09c5f32833906a5025137c947b2b7e0f6.zip
Use of sizeof(char) in all malloc/realloc for strings
Diffstat (limited to 'src/gui/gui-action.c')
-rw-r--r--src/gui/gui-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c
index 1f0eb5337..b33bdcdd5 100644
--- a/src/gui/gui-action.c
+++ b/src/gui/gui-action.c
@@ -63,7 +63,7 @@ gui_action_clipboard_copy (char *buffer, int size)
if (gui_input_clipboard != NULL)
free (gui_input_clipboard);
- gui_input_clipboard = (char *)malloc( (size + 1) * sizeof(*gui_input_clipboard));
+ gui_input_clipboard = (char *)malloc((size + 1) * sizeof(*gui_input_clipboard));
if (gui_input_clipboard)
{