summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-03 21:55:15 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-01-03 21:55:15 +0100
commit1cdad817aeac33568efebc5656908373330f7b34 (patch)
tree2647729545e7424fc238e1a03e8bf945f7281974 /src/lib
parent6f43f5f88e8be068a6397b2f0357d5297627559a (diff)
downloadeina_graph-1cdad817aeac33568efebc5656908373330f7b34.zip
eina_graph-1cdad817aeac33568efebc5656908373330f7b34.tar.gz
fix small typo and indentation
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eina_graph_dfs.c2
-rw-r--r--src/lib/eina_graph_dfs.h2
-rw-r--r--src/lib/eina_graph_private.h8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eina_graph_dfs.c b/src/lib/eina_graph_dfs.c
index 3fa08a6..263be74 100644
--- a/src/lib/eina_graph_dfs.c
+++ b/src/lib/eina_graph_dfs.c
@@ -52,7 +52,7 @@ _eina_graph_dfs_swalk(_Eina_Graph *_g, _Eina_Graph_DFS *_dfs, unsigned int v)
_dfs->marked[w] = EINA_TRUE;
_dfs->edge_to[w] = p;
p = w;
-
+
adjs = &_g->adjs[w];
n = adjs->count;
for (i = 0; i < n; i++)
diff --git a/src/lib/eina_graph_dfs.h b/src/lib/eina_graph_dfs.h
index 7e596d6..1de0ac7 100644
--- a/src/lib/eina_graph_dfs.h
+++ b/src/lib/eina_graph_dfs.h
@@ -43,7 +43,7 @@ typedef struct _Eina_Graph_DFS_Opaque Eina_Graph_DFS;
*
* @param g the graph to build the DFS from.
* @param s the source vertex of the DFS.
- * @param r if est to EINA_TRUE, use recursive instead of stack based algo.
+ * @param r if set to EINA_TRUE, use recursive instead of stack based algo.
*
* @return a new Depth First Search.
*/
diff --git a/src/lib/eina_graph_private.h b/src/lib/eina_graph_private.h
index d7a676c..25a6e73 100644
--- a/src/lib/eina_graph_private.h
+++ b/src/lib/eina_graph_private.h
@@ -100,10 +100,10 @@ typedef struct _Eina_Graph
typedef struct _Eina_Graph_DFS
{
- unsigned int s;
- unsigned int vertices;
- Eina_Bool *marked;
- unsigned int *edge_to;
+ unsigned int s;
+ unsigned int vertices;
+ Eina_Bool *marked;
+ unsigned int *edge_to;
} _Eina_Graph_DFS;
#endif /* _EINA_GRAPH_PRIVATE_H */