[Xfce-bugs] review requested: [Bug 10636] Reverting a file claims to fail, even though it worked. : [Attachment 5629] Patch
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Sep 6 00:29:25 CEST 2014
André Miranda <andreldm1989 at gmail.com> has asked Matthew Brush <matt at xfce.org>
for review:
Bug 10636: Reverting a file claims to fail, even though it worked.
https://bugzilla.xfce.org/show_bug.cgi?id=10636
Attachment 5629: Patch
https://bugzilla.xfce.org/attachment.cgi?id=5629&action=edit
------- Additional Comments from André Miranda <andreldm1989 at gmail.com>
The attached patch solves the problem.
Apparently the return from mousepad_file_open was misinterpreted, 0 is success
but when casted to boolean it yields false.
More information about the Xfce-bugs
mailing list