Revision: 1151
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1151&view=rev
Author:   nadvornik
Date:     2008-10-07 18:22:58 +0000 (Tue, 07 Oct 2008)

Log Message:
-----------
Fixed degree symbol encoding

Modified Paths:
--------------
    trunk/src/exif-common.c

Modified: trunk/src/exif-common.c
===================================================================
--- trunk/src/exif-common.c     2008-10-07 18:20:22 UTC (rev 1150)
+++ trunk/src/exif-common.c     2008-10-07 18:22:58 UTC (rev 1151)
@@ -456,7 +456,7 @@
                p2 = (gint)((p - p1)*60);
                p3 = ((p - p1)*60 - p2)*60;
 
-               g_string_append_printf(string, "%0d\xB0 %0d' %0.2f\" %.1s", p1, 
p2, p3, ref);
+               g_string_append_printf(string, "%0d° %0d' %0.2f\" %.1s", p1, 
p2, p3, ref);
                } // if (item && ref)
 
        item = exif_get_item(exif, "Exif.GPSInfo.GPSLongitude");
@@ -474,7 +474,7 @@
                p2 = (gint)((p - p1)*60);
                p3 = ((p - p1)*60 - p2)*60;
 
-               g_string_append_printf(string, ", %0d\xB0 %0d' %0.2f\" %.1s", 
p1, p2, p3, ref);
+               g_string_append_printf(string, ", %0d° %0d' %0.2f\" %.1s", p1, 
p2, p3, ref);
                } // if (item && ref)
 
        text = string->str;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to