- 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:
Bjorn Winckler
2007-09-28 18:22:57 +00:00
parent 556a49deec
commit c4980c3ac4
+3 -4
View File
@@ -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