We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58baf83 commit d1ec7b6Copy full SHA for d1ec7b6
src/Resizer.vala
@@ -98,7 +98,7 @@ namespace Resizer {
98
// turns "/home/user/Pictures/picture.jpg" into somesthing like:
99
// "/home/user/Pictures/picture-2000.jpg" or
100
// "/home/user/Pictures/picture-2000x1500.jpg" ors
101
- var file_regex = new GLib.Regex ("""(\/[^./]+)(\.\w+)""");
+ var file_regex = new GLib.Regex ("""(\/[^./]+)(\.\w+)$""");
102
var max_size = "";
103
if (width == height) {
104
max_size = width.to_string ();
0 commit comments