aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-01-10 20:20:15 +0000
committerBibiko <bibiko@eva.mpg.de>2011-01-10 20:20:15 +0000
commitdd68faf648410d42c57631f481241edb3aad4878 (patch)
tree6ce6fe63d3e567b2a5daa4b96ff7bb326afddec3
parentf682e2ea9ea4f96b1f395ceb166c7d2a59782c9d (diff)
downloadsequelpro-dd68faf648410d42c57631f481241edb3aad4878.tar.gz
sequelpro-dd68faf648410d42c57631f481241edb3aad4878.tar.bz2
sequelpro-dd68faf648410d42c57631f481241edb3aad4878.zip
• disabled in [SPTextView boundsDidChangeNotification] the view update to avoid incorrect line number rendering while scrolling until the problem is found why it causes some crashes
• fixed missing free() in [SPCopyTable executeBundleItemForDataTable]
-rw-r--r--Source/SPCopyTable.m1
-rw-r--r--Source/SPTextView.m4
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m
index 973dfecb..31b1e6d4 100644
--- a/Source/SPCopyTable.m
+++ b/Source/SPCopyTable.m
@@ -1263,6 +1263,7 @@ NSInteger kBlobAsImageFile = 4;
[tableMetaData appendFormat:@"%@\n", [col objectForKey:@"comment"]];
}
}
+ free(columnMappings);
inputFileError = nil;
[tableMetaData writeToFile:bundleInputTableMetaDataFilePath
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 4867597a..30904ba8 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -3027,8 +3027,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
if(![[self textStorage] changeInLength])
[self performSelector:@selector(doSyntaxHighlighting) withObject:nil afterDelay:0.4];
}
- else
- [scrollView displayRect:[scrollView visibleRect]];
+ // else
+ // [scrollView displayRect:[scrollView visibleRect]];
}