OpenVimWindowMsgID no longer has rows&columns as parameters.

git-svn-id: http://macvim.googlecode.com/svn/trunk@49 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-08-01 07:41:21 +00:00
parent e8a4e1095f
commit ef4c73ed05
+1 -8
View File
@@ -382,14 +382,7 @@ static NSMenuItem *findMenuItemWithTagInMenu(NSMenu *root, int tag)
//NSLog(@"%@ %s", [self className], _cmd);
if (OpenVimWindowMsgID == msgid) {
const void *bytes = [data bytes];
int rows = *((int*)bytes); bytes += sizeof(int);
int cols = *((int*)bytes); bytes += sizeof(int);
//NSLog(@"Received open VimWindow (%dx%d) message from VimTask.",
// cols, rows);
[windowController openWindowWithRows:rows columns:cols];
[windowController openWindow];
}
#if !MM_USE_DO
else if (TaskExitedMsgID == msgid) {