[PATCH] usp10: added missing break (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Aug 17 02:37:15 CDT 2013
1060204 Missing break in switch
added some more breaks; in corners.
Ciao, Marcus
---
dlls/usp10/breaking.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/usp10/breaking.c b/dlls/usp10/breaking.c
index 6e044b2..2f80f9a 100644
--- a/dlls/usp10/breaking.c
+++ b/dlls/usp10/breaking.c
@@ -97,6 +97,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
break;
case b_CM:
la[i].fCharStop = FALSE;
+ break;
}
}
@@ -111,8 +112,10 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
case b_SG:
case b_XX:
break_class[i] = b_AL;
+ break;
case b_CJ:
break_class[i] = b_NS;
+ break;
}
}
--
1.7.10.4
More information about the wine-patches
mailing list