From 94edeb4e9f3c31072e26c4b0945558ec58789bfd Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Thu, 1 Oct 1998 19:19:45 +0000 Subject: [PATCH] Added {} block in switch statement to make it compile on Linux --- gfx/src/motif/nsRenderingContextUnix.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gfx/src/motif/nsRenderingContextUnix.cpp b/gfx/src/motif/nsRenderingContextUnix.cpp index ffe462f437dd..4b21180a0d5e 100644 --- a/gfx/src/motif/nsRenderingContextUnix.cpp +++ b/gfx/src/motif/nsRenderingContextUnix.cpp @@ -570,21 +570,21 @@ nsresult nsRenderingContextUnix :: SetLineStyle(nsLineStyle aLineStyle) &values); break; - case nsLineStyle_kDashed: + case nsLineStyle_kDashed: { static char dashed[2] = {4,4}; ::XSetDashes(mRenderingSurface->display, mRenderingSurface->gc, 0, dashed, 2); - break; + } break; - case nsLineStyle_kDotted: + case nsLineStyle_kDotted: { static char dotted[2] = {3,1}; ::XSetDashes(mRenderingSurface->display, mRenderingSurface->gc, 0, dotted, 2); - break; + }break; default: break;