mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
- Got rid of warning message - Set lastFlushDate in processInputBegin (else update will speed suffer)
git-svn-id: http://macvim.googlecode.com/svn/trunk@289 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
+3
-4
@@ -1668,7 +1668,7 @@ enum {
|
||||
#endif
|
||||
fnames[i++] = vim_strsave(s);
|
||||
#if MM_ENABLE_CONV
|
||||
s = CONVERT_FROM_UTF8_FREE(s);
|
||||
CONVERT_FROM_UTF8_FREE(s);
|
||||
#endif
|
||||
bytes += len;
|
||||
}
|
||||
@@ -1965,10 +1965,9 @@ enum {
|
||||
{
|
||||
inProcessInput = YES;
|
||||
|
||||
// Reset last flush date otherwise timed error message from e.g.
|
||||
// ':set tenc=latin1' are never displayed.
|
||||
// Don't flush too soon or update speed will suffer.
|
||||
[lastFlushDate release];
|
||||
lastFlushDate = nil;
|
||||
lastFlushDate = [[NSDate date] retain];
|
||||
}
|
||||
|
||||
- (void)processInputEnd
|
||||
|
||||
Reference in New Issue
Block a user