This commit is contained in:
2019-11-06 11:32:50 -08:00
parent c0a66072b7
commit 1ccbd63308
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
[0.9.0.1] [0.9.0.1]
- Better tmp dir - Better tmp dir
- Fix bug that would cause sort to mess up if "-" in dirname
[0.9.0.0] [0.9.0.0]

View File

@@ -1185,7 +1185,7 @@ if (args("prerotated")) {
} }
foreach ($files as $file) { foreach ($files as $file) {
$num = filter_var($file, FILTER_SANITIZE_NUMBER_INT); $num = abs(filter_var($file, FILTER_SANITIZE_NUMBER_INT));
if ($num < $midpoint_key) { if ($num < $midpoint_key) {
$new = args("dir").sprintf('%03d',$e)."-".basename($file); $new = args("dir").sprintf('%03d',$e)."-".basename($file);
$ops[$e] = array($file,$new,$leftrotation); $ops[$e] = array($file,$new,$leftrotation);