Mercurial > vim
comparison src/buffer.c @ 1764:1c85355293f9 v7.2.062
updated for version 7.2-062
author | vimboss |
---|---|
date | Wed, 03 Dec 2008 10:21:57 +0000 |
parents | feb9b4215853 |
children | 021f9d0f60a1 |
comparison
equal
deleted
inserted
replaced
1763:45d9e2f80fe1 | 1764:1c85355293f9 |
---|---|
5116 * contains the name as specified by the user */ | 5116 * contains the name as specified by the user */ |
5117 if (bt_nofile(buf)) | 5117 if (bt_nofile(buf)) |
5118 { | 5118 { |
5119 if (buf->b_sfname != NULL) | 5119 if (buf->b_sfname != NULL) |
5120 return (char *)buf->b_sfname; | 5120 return (char *)buf->b_sfname; |
5121 return "[Scratch]"; | 5121 return _("[Scratch]"); |
5122 } | 5122 } |
5123 #endif | 5123 #endif |
5124 if (buf->b_fname == NULL) | 5124 if (buf->b_fname == NULL) |
5125 return _("[No Name]"); | 5125 return _("[No Name]"); |
5126 return NULL; | 5126 return NULL; |