Mercurial > vim
comparison src/os_mswin.c @ 434:9595cf1d80a7
updated for version 7.0112
author | vimboss |
---|---|
date | Thu, 21 Jul 2005 21:03:15 +0000 |
parents | 73e8af3a49e7 |
children | eb531146be0e |
comparison
equal
deleted
inserted
replaced
433:d5ec1b42ceb0 | 434:9595cf1d80a7 |
---|---|
471 */ | 471 */ |
472 void | 472 void |
473 slash_adjust(p) | 473 slash_adjust(p) |
474 char_u *p; | 474 char_u *p; |
475 { | 475 { |
476 if (p != NULL) | 476 while (*p) |
477 while (*p) | 477 { |
478 { | 478 if (*p == psepcN) |
479 if (*p == psepcN) | 479 *p = psepc; |
480 *p = psepc; | 480 mb_ptr_adv(p); |
481 mb_ptr_adv(p); | 481 } |
482 } | |
483 } | 482 } |
484 | 483 |
485 | 484 |
486 /* | 485 /* |
487 * stat() can't handle a trailing '/' or '\', remove it first. | 486 * stat() can't handle a trailing '/' or '\', remove it first. |