[Xfce4-commits] <xfbib:master> Fixed bug #5682
Jesper Karlsson
zarper at gmail.com
Thu Sep 3 18:54:01 CEST 2009
Updating branch refs/heads/master
to 445bde7ed72d1b7ac2207eb55b015ca721ce2883 (commit)
from 7ce775228f8ae58581860372b6977901cf72754f (commit)
commit 445bde7ed72d1b7ac2207eb55b015ca721ce2883
Author: Jesper Karlsson <zarper at gmail.com>
Date: Thu Sep 3 18:50:11 2009 +0200
Fixed bug #5682
src/xfbib-file-io.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/xfbib-file-io.c b/src/xfbib-file-io.c
index 0e80aa5..c6fd865 100644
--- a/src/xfbib-file-io.c
+++ b/src/xfbib-file-io.c
@@ -96,7 +96,7 @@ xfbib_file_io_open(gchar *filename)
if (!g_file_get_contents(name, &contents, &length, &err)) {
- xfce_err(_("An error occured when opening the file: %s\n"), err->message);
+ xfce_err(_("An error occurred when opening the file: %s\n"), err->message);
g_error_free(err);
return NULL;
} else {
@@ -139,12 +139,12 @@ xfbib_file_io_save(gchar *name)
xfbib_bibtex_foreach(elements, foreach_bibtex_element, str);
if ((fd = fopen(name, "w")) == NULL) {
- xfce_err(_("An error occured when opening the file: %s\n"), strerror(errno));
+ xfce_err(_("An error occurred when opening the file: %s\n"), strerror(errno));
return FALSE;
}
if(fputs(str->str, fd) == EOF) {
- xfce_err(_("An error occured when writing to the file: %s\n"), name);
+ xfce_err(_("An error occurred when writing to the file: %s\n"), name);
return FALSE;
}
More information about the Xfce4-commits
mailing list