r21714 by jghali - fix coverity 1396751: missing break in switch

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 8 17:00:08 UTC 2017


Author: jghali
Date: Sun Jan  8 17:00:08 2017
New Revision: 21714

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21714
Log:
fix coverity 1396751: missing break in switch

Modified:
    trunk/Scribus/scribus/scfonts.cpp

Modified: trunk/Scribus/scribus/scfonts.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21714&path=/trunk/Scribus/scribus/scfonts.cpp
==============================================================================
--- trunk/Scribus/scribus/scfonts.cpp	(original)
+++ trunk/Scribus/scribus/scfonts.cpp	Sun Jan  8 17:00:08 2017
@@ -389,10 +389,13 @@
 			break;
 		case TT_MS_ID_SJIS:
 			encoding = "Shift-JIS";
+			break;
 		case TT_MS_ID_GB2312:
 			encoding = "GB18030-0";
+			break;
 		case TT_MS_ID_BIG_5:
 			encoding = "Big5";
+			break;
 		default:
 			break;
 		}




More information about the scribus-commit mailing list