Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
ed724cc0
Commit
ed724cc0
authored
Nov 12, 2011
by
Sebastian Ramacher
Browse files
fix a 'format not a string literal and no format arguments' warning
parent
8386b3ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura.c
View file @
ed724cc0
...
...
@@ -438,9 +438,7 @@ document_save(zathura_t* zathura, const char* path, bool overwrite)
gchar
*
file_path
=
girara_fix_path
(
path
);
if
(
!
overwrite
&&
g_file_test
(
file_path
,
G_FILE_TEST_EXISTS
))
{
gchar
*
message
=
g_strdup_printf
(
"File already exists: %s. Use :write! to overwrite it."
,
file_path
);
girara_error
(
message
);
g_free
(
message
);
girara_error
(
"File already exists: %s. Use :write! to overwrite it."
,
file_path
);
g_free
(
file_path
);
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment