See bugreport 300621, patch from Mattias Ellert.

Solves xcam and xscanimage bug: warning Invalid UTF8 string passed to pango_layout_set_text() when using SANE_UNIT_MICROSECOND used by for example
testbackend (Read delay)
merge-requests/2/head
Gerard Klaver 2004-04-09 17:14:50 +00:00
rodzic dc41a0c10f
commit 3b1166e02f
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2004-04-05 Gerard Klaver <gerard at gkall dot hobby dot nl>
* src/gtkglue.c UTF8 patch from Mattias Ellert for
SANE_UNIT_MICROSECOND, See bug #300621.
2004-04-05 Gerard Klaver <gerard at gkall dot hobby dot nl>
* src/gtkglue.c src.gtkglue.h src/preferences.c src/preferences.h
src/xcam.c src/xscanimage.c: Add display option one or two column

Wyświetl plik

@ -75,7 +75,7 @@ unit_string (SANE_Unit unit)
else if (d > 25.3 && d < 25.5)
return "in";
return "mm";
case SANE_UNIT_MICROSECOND: return "\265s";
case SANE_UNIT_MICROSECOND: return "\302\265s";
}
return 0;
}