diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:07:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:07:50 +0000 |
commit | 720c710091ba23dcbfca46766d87b4bb57dbc892 (patch) | |
tree | a3ed47f484ac9632e714951987398888158c97d7 /src | |
parent | 25bc63d168842127cbf23d986f1fcf88553430f6 (diff) | |
download | vim-git-720c710091ba23dcbfca46766d87b4bb57dbc892.tar.gz |
updated for version 7.1b
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_mac.c | 25 | ||||
-rw-r--r-- | src/os_mac_conv.c | 2 | ||||
-rw-r--r-- | src/workshop.c | 2 |
3 files changed, 15 insertions, 14 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c index 21e991505..8f90e4303 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -1742,7 +1742,7 @@ gui_mac_doInGrowClick(Point where, WindowPtr whichWindow) resizeLimitsPtr = GetRegionBounds(GetGrayRgn(), &resizeLimits); - /* Set the minimun size */ + /* Set the minimum size */ /* TODO: Should this come from Vim? */ resizeLimits.top = 100; resizeLimits.left = 100; @@ -1844,7 +1844,7 @@ gui_mac_doUpdateEvent(EventRecord *event) */ GetPortVisibleRegion(GetWindowPort(whichWindow), updateRgn); # if 0 - /* Would be more appropriate to use the follwing but doesn't + /* Would be more appropriate to use the following but doesn't * seem to work under MacOS X (Dany) */ GetWindowRegion(whichWindow, kWindowUpdateRgn, updateRgn); @@ -1929,7 +1929,7 @@ gui_mac_doActivateEvent(EventRecord *event) gui_focus_change(FALSE); /* DON'T KNOW what the code below was doing found in the deactivate clause, but the - clause writting TRUE into in_focus (BUG) + clause writing TRUE into in_focus (BUG) */ #if 0 /* Removed by Dany as per above June 2001 */ @@ -1955,7 +1955,7 @@ gui_mac_doSuspendEvent(EventRecord *event) */ /* May not need to change focus as the window will - * get an activate/desactivate event + * get an activate/deactivate event */ if (event->message & 1) /* Resume */ @@ -2748,7 +2748,7 @@ gui_mac_find_font(char_u *font_name) /* * ------------------------------------------------------------ - * GUI_MCH functionnality + * GUI_MCH functionality * ------------------------------------------------------------ */ @@ -3007,7 +3007,7 @@ gui_mch_init(void) display_errors(); /* Get background/foreground colors from system */ - /* TODO: do the approriate call to get real defaults */ + /* TODO: do the appropriate call to get real defaults */ gui.norm_pixel = 0x00000000; gui.back_pixel = 0x00FFFFFF; @@ -3036,7 +3036,7 @@ gui_mch_init(void) gui.scrollbar_height = gui.scrollbar_width = 15; /* cheat 1 overlap */ gui.border_offset = gui.border_width = 2; - /* If Quartz-style text antialiasing is available (see + /* If Quartz-style text anti aliasing is available (see gui_mch_draw_string() below), enable it for all font sizes. */ vim_setenv((char_u *)"QDTEXT_MINSIZE", (char_u *)"1"); @@ -3212,7 +3212,7 @@ gui_mch_set_shellsize( * Get the screen dimensions. * Allow 10 pixels for horizontal borders, 40 for vertical borders. * Is there no way to find out how wide the borders really are? - * TODO: Add live udate of those value on suspend/resume. + * TODO: Add live update of those value on suspend/resume. */ void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h) @@ -5315,7 +5315,8 @@ gui_mch_dialog( short itemType; short useIcon; short width; - short totalButtonWidth = 0; /* the width of all button together incuding spacing */ + short totalButtonWidth = 0; /* the width of all button together + including spacing */ short widestButton = 0; short dfltButtonEdge = 20; /* gut feeling */ short dfltElementSpacing = 13; /* from IM:V.2-29 */ @@ -5959,7 +5960,7 @@ char_u *FullPathFromFSSpec_save(FSSpec file) theCPB.dirInfo.ioFDirIndex = -1; /* theCPB.dirInfo.ioNamePtr = directoryName; Already done above. */ theCPB.dirInfo.ioVRefNum = file.vRefNum; - /* theCPB.dirInfo.ioDirID = irrevelant when ioFDirIndex = -1 */ + /* theCPB.dirInfo.ioDirID = irrelevant when ioFDirIndex = -1 */ theCPB.dirInfo.ioDrDirID = theCPB.dirInfo.ioDrParID; /* As ioFDirIndex = -1, get the info of ioDrDirID, */ @@ -5986,7 +5987,7 @@ char_u *FullPathFromFSSpec_save(FSSpec file) theCPB.dirInfo.ioFDirIndex = -1; /* theCPB.dirInfo.ioNamePtr = directoryName; Already done above. */ theCPB.dirInfo.ioVRefNum = file.vRefNum; - /* theCPB.dirInfo.ioDirID = irrevelant when ioFDirIndex = -1 */ + /* theCPB.dirInfo.ioDirID = irrelevant when ioFDirIndex = -1 */ theCPB.dirInfo.ioDrDirID = theCPB.dirInfo.ioDrParID; /* As ioFDirIndex = -1, get the info of ioDrDirID, */ @@ -5998,7 +5999,7 @@ char_u *FullPathFromFSSpec_save(FSSpec file) /* For MacOS Classic always add the volume name */ /* For MacOS X add the volume name preceded by "Volumes" */ - /* when we are not refering to the boot volume */ + /* when we are not referring to the boot volume */ #ifdef USE_UNIXFILENAME if (file.vRefNum != dfltVol_vRefNum) #endif diff --git a/src/os_mac_conv.c b/src/os_mac_conv.c index 9f19a8098..56d8953c1 100644 --- a/src/os_mac_conv.c +++ b/src/os_mac_conv.c @@ -74,7 +74,7 @@ mac_string_convert(ptr, len, lenp, fail_on_error, from_enc, to_enc, unconvlenp) fprintf(stderr, "Encoding failed\n"); /* When conversion failed, try excluding bytes from the end, helps when * there is an incomplete byte sequence. Only do up to 6 bytes to avoid - * looping a long time when there really is something unconvertable. */ + * looping a long time when there really is something unconvertible. */ while (cfstr == NULL && unconvlenp != NULL && len > 1 && *unconvlenp < 6) { --len; diff --git a/src/workshop.c b/src/workshop.c index 88ff5ec10..38d27c4d7 100644 --- a/src/workshop.c +++ b/src/workshop.c @@ -1329,7 +1329,7 @@ load_window( warp_to_pc( int lnum) /* line number to warp to */ { - char lbuf[256]; /* build line comand here */ + char lbuf[256]; /* build line command here */ if (lnum > 0) { |