Fix the ****ing formatting in this stupid editor

This commit is contained in:
prpr 2020-11-14 01:25:46 +00:00 committed by df
parent 519f771859
commit 1b11be6827

View File

@ -354,14 +354,14 @@ ts method mkbmps {{offset 0}} {
ts method mkbmp {{offset 0} {ext ""}} { ts method mkbmp {{offset 0} {ext ""}} {
set bfile [file rootname $file] set bfile [file rootname $file]
set bmpfile "$bfile$ext.bmp" set bmpfile "$bfile$ext.bmp"
set cmd [list /mod/bin/ffmpeg -loglevel fatal -ss $offset -i $file \ set cmd [list /mod/bin/ffmpeg -loglevel fatal -ss $offset -i $file \
-frames 1 -pix_fmt argb -vf vflip -s 140x78 -y $bmpfile] -frames 1 -pix_fmt argb -vf vflip -s 140x78 -y $bmpfile]
catch { exec {*}$cmd } catch { exec {*}$cmd }
if {![catch { file stat $bmpfile stbmp }]} { if {![catch { file stat $bmpfile stbmp }]} {
if {[dict get $stbmp size] != 0} { return 1 } if {[dict get $stbmp size] != 0} { return 1 }
} }
return 0 return 0
} }
ts method mkthm {{offset 0}} { ts method mkthm {{offset 0}} {