repo.or.cz
/
viking
/
guyou.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing trailing dot in sentences
[viking/guyou.git]
/
test
/
geotag_read.c
blob
0ef90cce720e0714191e54942032c2c6f783b633
1
// Copyright: CC0
2
#include <stdio.h>
3
#include <glib.h>
4
#include <glib/gstdio.h>
5
#include
"geotag_exif.h"
6
#include
"vikcoord.h"
7
8
int
main
(
int
argc
,
char
*
argv
[])
9
{
10
#if !GLIB_CHECK_VERSION(2,36,0)
11
g_type_init
();
12
#endif
13
14
if
(
argv
[
1
] ) {
15
struct
LatLon ll
=
a_geotag_get_position
(
argv
[
1
] );
16
g_printf
(
"%.6f %.6f
\n
"
,
ll
.
lat
,
ll
.
lon
);
17
}
18
19
return
0
;
20
}
21