Skip to content

Commit

Permalink
Merge pull request #1499 from ychin/fix-tab-dragging-crash
Browse files Browse the repository at this point in the history
Fix dragging GUI tabs resulting in a crash
  • Loading branch information
ychin authored Sep 11, 2024
2 parents 605f984 + d8155a7 commit f9ccb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MacVim/PSMTabBarControl/source/PSMTabDragAssistant.m
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ - (void)distributePlaceholdersInTabBar:(PSMTabBarControl *)control

- (void)removeAllPlaceholdersFromTabBar:(PSMTabBarControl *)control
{
NSUInteger i, cellCount = [[control cells] count];
int i, cellCount = (int)[[control cells] count];
for(i = (cellCount - 1); i >= 0; i--){
PSMTabBarCell *cell = [[control cells] objectAtIndex:i];
if([cell isPlaceholder])
Expand Down

0 comments on commit f9ccb28

Please sign in to comment.