diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-30 04:24:07 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-30 04:24:07 +0000 |
commit | c71983202c5f6e175b05cdde1f8c489fc314f33f (patch) | |
tree | f4416efe6c5916471d57e25d8d7c09482dfa286b /libmenu | |
parent | 4f593b33930d6b5935f5ada4fa96aa2b53165230 (diff) |
gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r-- | libmenu/menu_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmenu/menu_console.c b/libmenu/menu_console.c index 1005ee2125..d8d6704b7b 100644 --- a/libmenu/menu_console.c +++ b/libmenu/menu_console.c @@ -467,7 +467,7 @@ static int openMenu(menu_t* menu, char* args) { mpriv->lines = calloc(mpriv->buf_lines,sizeof(char*)); mpriv->prompt = mpriv->mp_prompt; mpriv->cur_history = mpriv->history = calloc(1,sizeof(history_t)); - mpriv->cur_history->buffer = calloc(255,sizeof(char)); + mpriv->cur_history->buffer = calloc(255,1); mpriv->cur_history->size = 255; if(args) |