From c1d104822c1e2d992ca6cc930daa08e028388c46 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 25 Oct 2007 13:26:45 +0300 Subject: [PATCH] Formating only --- src/path.c | 8 ++++---- src/path.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/path.c b/src/path.c index 9dcbd21..516a095 100644 --- a/src/path.c +++ b/src/path.c @@ -6,9 +6,10 @@ #include "mapper-types.h" #include "track.h" +#include "path.h" void -path_resize(Path * path, guint size) +path_resize(Path *path, guint size) { if (path->head + size != path->cap) { Point *old_head = path->head; @@ -20,14 +21,13 @@ if (path->head + size != path->cap) { /* Adjust all of the waypoints. */ for (curr = path->whead - 1; curr++ != path->wtail;) - curr->point = - path->head + (curr->point - old_head); + curr->point = path->head + (curr->point - old_head); } } } void -path_wresize(Path * path, guint wsize) +path_wresize(Path *path, guint wsize) { if (path->whead + wsize != path->wcap) { WayPoint *old_whead = path->whead; diff --git a/src/path.h b/src/path.h index 4a41b5d..7d0f0d7 100644 --- a/src/path.h +++ b/src/path.h @@ -1,7 +1,7 @@ #ifndef _PATH_H #define _PATH_H -void path_resize(Path * path, guint size); -void path_wresize(Path * path, guint wsize); +void path_resize(Path *path, guint size); +void path_wresize(Path *path, guint wsize); #endif -- 2.39.5