diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 10:30:18 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 10:30:18 +0100 |
| commit | e9d53ebec7a17b11761b5fee1c2183cff3110dd5 (patch) | |
| tree | 9628a4caf18f812cee0a71ed849b546f3275e95d /qbuffers.h | |
| parent | 3c395e56140c991ea776fedde0eaba230060c767 (diff) | |
try to canonicalize paths to non-existent files
allows you to edit non-existing files with a predefined name. it is completely canonicalized when it is saved
Diffstat (limited to 'qbuffers.h')
| -rw-r--r-- | qbuffers.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -177,8 +177,9 @@ public: inline void set_filename(const gchar *filename) { + gchar *resolved = get_absolute_path(filename); g_free(Buffer::filename); - Buffer::filename = get_absolute_path(filename); + Buffer::filename = resolved; } inline void |
