diff options
Diffstat (limited to 'desktop/save_text.c')
-rw-r--r-- | desktop/save_text.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/save_text.c b/desktop/save_text.c index e63c96eb9..791ae9201 100644 --- a/desktop/save_text.c +++ b/desktop/save_text.c @@ -75,7 +75,8 @@ void save_as_text(struct hlcache_handle *c, char *path) free(save.block); if (ret != NSERROR_OK) { - LOG("failed to convert to local encoding, return %d", ret); + NSLOG(netsurf, INFO, + "failed to convert to local encoding, return %d", ret); return; } @@ -84,12 +85,13 @@ void save_as_text(struct hlcache_handle *c, char *path) int res = fputs(result, out); if (res < 0) { - LOG("Warning: write failed"); + NSLOG(netsurf, INFO, "Warning: write failed"); } res = fputs("\n", out); if (res < 0) { - LOG("Warning: failed writing trailing newline"); + NSLOG(netsurf, INFO, + "Warning: failed writing trailing newline"); } fclose(out); |