aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-03-17 17:17:42 +0100
committerThomas White <taw@bitwiz.org.uk>2013-03-17 17:18:34 +0100
commit6d2256cfc1bdf152c46a49f78a096b8e75a753d6 (patch)
tree8fe87ab1c644d92922f08e2b49be9716a726d234
parent960695dfa263812c201da2ff4e535ebb82808da3 (diff)
Fix space defaults
-rw-r--r--src/wrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wrap.c b/src/wrap.c
index 0a5140c..8cd92ce 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -347,9 +347,9 @@ static double sp_x(enum wrap_box_space s)
return 10.0*PANGO_SCALE;
case WRAP_SPACE_EOP :
- default:
return 0.0;
+ default:
case WRAP_SPACE_NONE :
return 0.0;
@@ -366,9 +366,9 @@ static double sp_y(enum wrap_box_space s)
return 10.0*PANGO_SCALE;
case WRAP_SPACE_EOP :
- default:
return 0.0;
+ default:
case WRAP_SPACE_NONE :
return INFINITY;
@@ -385,9 +385,9 @@ static double sp_z(enum wrap_box_space s)
return 7.0*PANGO_SCALE;
case WRAP_SPACE_EOP :
- default:
return 0.0;
+ default:
case WRAP_SPACE_NONE :
return 0.0;