summaryrefslogtreecommitdiff
path: root/navit/phrase.c
diff options
context:
space:
mode:
authorJoseph Herlant <herlantj@gmail.com>2018-05-25 22:06:51 -0700
committerJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-25 22:17:50 -0700
commit8a76acb966f7059caf9d72c853175bd923b1e9d7 (patch)
tree1735178f7a0718831b88d2c36ea18a9955de3224 /navit/phrase.c
parent032f15287b472f1a4b5349533f3e5b468684b281 (diff)
downloadnavit-8a76acb966f7059caf9d72c853175bd923b1e9d7.tar.gz
cleanup:global:Use astyle to reformat everything
Diffstat (limited to 'navit/phrase.c')
-rw-r--r--navit/phrase.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/navit/phrase.c b/navit/phrase.c
index 9c7edaaa7..6129601e9 100644
--- a/navit/phrase.c
+++ b/navit/phrase.c
@@ -26,28 +26,27 @@
#include "phrase.h"
void
-phrase_route_calc(void *speech)
-{
+phrase_route_calc(void *speech) {
#if 0
- if (! speech)
- return;
- speech_say(speech,"Die Route wird berechnet\n");
+ if (! speech)
+ return;
+ speech_say(speech,"Die Route wird berechnet\n");
#endif
}
void
-phrase_route_calculated(void *speech, void *route)
-{
+phrase_route_calculated(void *speech, void *route) {
#if 0
- struct tm *eta;
+ struct tm *eta;
#endif
- if (! speech)
- return;
+ if (! speech)
+ return;
#if 0 /* FIXME */
- eta=route_get_eta(route);
+ eta=route_get_eta(route);
- speech_sayf(speech,"Die Route wurde berechnet, geschätzte Ankunftszeit %d Uhr %d Entfernung %4.0f Kilometer", eta->tm_hour,eta->tm_min,route_get_len(route)/1000);
+ speech_sayf(speech,"Die Route wurde berechnet, geschätzte Ankunftszeit %d Uhr %d Entfernung %4.0f Kilometer",
+ eta->tm_hour,eta->tm_min,route_get_len(route)/1000);
#endif
}