aboutsummaryrefslogtreecommitdiff
path: root/examples/win-title
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-06-22 05:05:03 +0200
committerNRK <nrk@disroot.org>2022-06-22 05:05:03 +0200
commit9812d601c16fb243aac788abfeb9ea01a7870466 (patch)
tree815c5237a5790304dac29a7978932f834a3ffdb7 /examples/win-title
parenta67665a1c1569cdc16366cf635f76eb00c96048a (diff)
r_mkdir: don't truncate the path on error (#322)
currently, in case of error, r_mkdir will leave the path at a truncated state. a7d39b0ab8 is the commit that introduced this change, and in it the error printing is moved from r_mkdir to the caller, which makes me think it was probably intentional. make it so that the function itself prints the error/warning message and returns the path back to the caller unharmed. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/322 Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr> Reviewed-by: TAAPArthur <taaparthur@noreply.codeberg.org>
Diffstat (limited to 'examples/win-title')
0 files changed, 0 insertions, 0 deletions