Added {} block in switch statement to make it compile on Linux

This commit is contained in:
rods%netscape.com 1998-10-01 19:19:45 +00:00
Родитель 0b7fddb776
Коммит 94edeb4e9f
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;