Mercurial > hg > xemacs-beta
diff src/menubar-msw.c @ 396:6719134a07c2 r21-2-13
Import from CVS: tag r21-2-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:12:05 +0200 |
parents | bbff43aa5eb7 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/menubar-msw.c Mon Aug 13 11:11:38 2007 +0200 +++ b/src/menubar-msw.c Mon Aug 13 11:12:05 2007 +0200 @@ -143,7 +143,7 @@ if (ll+2 >= MAX_MENUITEM_LENGTH) signal_simple_error ("Menu item produces too long displayable string", pgui_item->name); - memmove (ptr+1, ptr, ll-(ptr-buf)); + memmove (ptr+1, ptr, (ll-(ptr-buf))+1); ll++; ptr+=2; }