Mercurial > vim
comparison src/gui_w48.c @ 1411:0e6b369b9760 v7.1.126
updated for version 7.1-126
author | vimboss |
---|---|
date | Sun, 30 Sep 2007 12:02:55 +0000 |
parents | 721513ac52d0 |
children | 69bcc0c891d7 |
comparison
equal
deleted
inserted
replaced
1410:cdd82acd75b4 | 1411:0e6b369b9760 |
---|---|
3299 | 3299 |
3300 /* Give focus back to main window (when using MDI). */ | 3300 /* Give focus back to main window (when using MDI). */ |
3301 SetFocus(s_hwnd); | 3301 SetFocus(s_hwnd); |
3302 | 3302 |
3303 /* Shorten the file name if possible */ | 3303 /* Shorten the file name if possible */ |
3304 mch_dirname(IObuff, IOSIZE); | 3304 return vim_strsave(shorten_fname1((char_u *)fileBuf)); |
3305 p = shorten_fname((char_u *)fileBuf, IObuff); | |
3306 if (p == NULL) | |
3307 p = (char_u *)fileBuf; | |
3308 return vim_strsave(p); | |
3309 } | 3305 } |
3310 # endif /* FEAT_MBYTE */ | 3306 # endif /* FEAT_MBYTE */ |
3311 | 3307 |
3312 | 3308 |
3313 /* | 3309 /* |
3448 | 3444 |
3449 /* Give focus back to main window (when using MDI). */ | 3445 /* Give focus back to main window (when using MDI). */ |
3450 SetFocus(s_hwnd); | 3446 SetFocus(s_hwnd); |
3451 | 3447 |
3452 /* Shorten the file name if possible */ | 3448 /* Shorten the file name if possible */ |
3453 mch_dirname(IObuff, IOSIZE); | 3449 return vim_strsave(shorten_fname1((char_u *)fileBuf)); |
3454 p = shorten_fname((char_u *)fileBuf, IObuff); | |
3455 if (p == NULL) | |
3456 p = (char_u *)fileBuf; | |
3457 return vim_strsave(p); | |
3458 } | 3450 } |
3459 #endif /* FEAT_BROWSE */ | 3451 #endif /* FEAT_BROWSE */ |
3460 | 3452 |
3461 /*ARGSUSED*/ | 3453 /*ARGSUSED*/ |
3462 static void | 3454 static void |