Thu, 20 Mar 2003 08:26:18 +0000
strip more extensions for bookmark names.
tumble.c | file | annotate | diff | revisions |
1.1 diff -r d4a6e303703a -r 460c336ec8d7 tumble.c 1.2 --- a/tumble.c Thu Mar 20 08:20:52 2003 +0000 1.3 +++ b/tumble.c Thu Mar 20 08:26:18 2003 +0000 1.4 @@ -2,7 +2,7 @@ 1.5 * tumble: build a PDF file from image files 1.6 * 1.7 * Main program 1.8 - * $Id: tumble.c,v 1.38 2003/03/19 22:54:07 eric Exp $ 1.9 + * $Id: tumble.c,v 1.39 2003/03/20 00:26:18 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -225,7 +225,9 @@ 1.14 1.15 p = strrchr (in_fn, '.'); 1.16 if (p && ((strcasecmp (p, ".tif") == 0) || 1.17 - (strcasecmp (p, ".tiff") == 0))) 1.18 + (strcasecmp (p, ".tiff") == 0) || 1.19 + (strcasecmp (p, ".jpg") == 0) || 1.20 + (strcasecmp (p, ".jpeg") == 0))) 1.21 return (p - in_fn); 1.22 return (len); 1.23 }