about summary refs log tree commit diff
path: root/converter/other/anytopnm
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/anytopnm')
-rwxr-xr-xconverter/other/anytopnm2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/anytopnm b/converter/other/anytopnm
index 7422a87f..82f57b3b 100755
--- a/converter/other/anytopnm
+++ b/converter/other/anytopnm
@@ -531,7 +531,7 @@ putInputIntoTempfile "$inputFile" "$file"
 
 setMimeType "$file"
 
-typeDescription=`file "$file" | cut -d: -f2- | cut -c2`
+typeDescription=`file "$file" | cut -d: -f2- | cut -c2-`
 
 determineType "$file" "$mimeType" "$typeDescription" "$fileExtension"