mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Added {} block in switch statement to make it compile on Linux
This commit is contained in:
parent
0b7fddb776
commit
94edeb4e9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user