mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 12:50:10 +01:00
parent
3ffb6d5c07
commit
d4f1ba74d0
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ _get_global_font_dc (void)
|
|||
static DWORD hdc_tls_index;
|
||||
HDC hdc;
|
||||
|
||||
if (!_cairo_atomic_init_once_enter (&once)) {
|
||||
if (_cairo_atomic_init_once_enter (&once)) {
|
||||
hdc_tls_index = TlsAlloc ();
|
||||
assert (hdc_tls_index != TLS_OUT_OF_INDEXES);
|
||||
_cairo_atomic_init_once_leave (&once);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue