mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
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:
+1
-8
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user