Mercurial > vim
comparison src/fileio.c @ 9:4102fb4ea781 v7.0002
updated for version 7.0002
author | vimboss |
---|---|
date | Sun, 20 Jun 2004 12:51:53 +0000 |
parents | 7edf9b6e4c36 |
children | 4e2284e71352 |
comparison
equal
deleted
inserted
replaced
8:7edf9b6e4c36 | 9:4102fb4ea781 |
---|---|
5288 buf->b_sfname = vim_strsave(p); | 5288 buf->b_sfname = vim_strsave(p); |
5289 buf->b_fname = buf->b_sfname; | 5289 buf->b_fname = buf->b_sfname; |
5290 } | 5290 } |
5291 if (p == NULL || buf->b_fname == NULL) | 5291 if (p == NULL || buf->b_fname == NULL) |
5292 buf->b_fname = buf->b_ffname; | 5292 buf->b_fname = buf->b_ffname; |
5293 mf_fullname(buf->b_ml.ml_mfp); | 5293 } |
5294 } | 5294 |
5295 /* Always make the swap file name a full path, a "nofile" buffer may | |
5296 * also have a swap file. */ | |
5297 mf_fullname(buf->b_ml.ml_mfp); | |
5295 } | 5298 } |
5296 #ifdef FEAT_WINDOWS | 5299 #ifdef FEAT_WINDOWS |
5297 status_redraw_all(); | 5300 status_redraw_all(); |
5298 #endif | 5301 #endif |
5299 } | 5302 } |