зеркало из https://github.com/mozilla/gecko-dev.git
Added {} block in switch statement to make it compile on Linux
This commit is contained in:
Родитель
0b7fddb776
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче