54bac4685a
Changes since 1.0: Usability improvements: - Filmstrip centers on selected image Behavioral changes: - Improved (hierarchical) tag export for flickr and friends Camera support: - Improved Sony NEX-7 support - Initial camera support for Nikon D800 and Sony SLT-A57 (color rendition of these cameras might still be suboptimal due to the lack of a proper color matrix, and is subject to future change.) - White balance updates for Canon EOS Rebel T3, Olympus E-5 & Nikon D800 Platform support: - Fixes for FreeBSD Various: - New subtle denoise preset for equalizer - Various build fixes - Numerous other fixes
22 lines
641 B
C
22 lines
641 B
C
$NetBSD: patch-src_iop_lens.c,v 1.1 2012/05/05 19:18:33 jakllsch Exp $
|
|
|
|
--- src/iop/lens.c.orig 2012-04-27 20:25:52.000000000 +0000
|
|
+++ src/iop/lens.c
|
|
@@ -842,7 +842,7 @@ static void parse_maker_model (
|
|
{
|
|
const gchar *sep;
|
|
|
|
- while (txt [0] && isspace (txt [0]))
|
|
+ while (txt [0] && isspace ((unsigned char)txt [0]))
|
|
txt++;
|
|
sep = strchr (txt, ',');
|
|
if (sep)
|
|
@@ -853,7 +853,7 @@ static void parse_maker_model (
|
|
memcpy (make, txt, len);
|
|
make [len] = 0;
|
|
|
|
- while (*++sep && isspace (sep [0]))
|
|
+ while (*++sep && isspace ((unsigned char)sep [0]))
|
|
;
|
|
len = strlen (sep);
|
|
if (len > sz_model - 1)
|