aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ioview.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-24 04:57:26 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-24 05:07:06 +0100
commit1e5115b0b40bcf57501d4b0b5dce8e7ecd61432d (patch)
tree0dc00efad34dcc3a013ca26612fa759298ed9490 /src/ioview.cpp
parentd503c3b07c2157658f699294c44ad5be244727a5 (diff)
downloadsciteco-1e5115b0b40bcf57501d4b0b5dce8e7ecd61432d.tar.gz
Q-Register loading and saving using the IOView class
* EW can save Q-Registers now * the new E% may be used to save a q-register without making it the current document
Diffstat (limited to 'src/ioview.cpp')
-rw-r--r--src/ioview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ioview.cpp b/src/ioview.cpp
index c9d147c..b0a2d40 100644
--- a/src/ioview.cpp
+++ b/src/ioview.cpp
@@ -254,7 +254,7 @@ IOView::save(const gchar *filename)
file = g_fopen(filename, "w");
if (!file)
/* hopefully, errno is also always set on Windows */
- throw Error("Error opening file \"%s\": %s",
+ throw Error("Error opening file \"%s\" for writing: %s",
filename, strerror(errno));
/* write part of buffer before gap */