diff options
| author | Gerd Moellmann | 2001-01-26 09:34:55 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-26 09:34:55 +0000 |
| commit | 5df79d3d884e7e2aae648765c8831a05cc902553 (patch) | |
| tree | 427b68182de9988a699301302016ce5acc874168 /src | |
| parent | 995d76897c1500d3dc9fe103394678fee7334c6b (diff) | |
| download | emacs-5df79d3d884e7e2aae648765c8831a05cc902553.tar.gz emacs-5df79d3d884e7e2aae648765c8831a05cc902553.zip | |
(xic_style): New variable.
(create_frame_xic): Move static variable to global scope for
the case that `static' get's defined away.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 29d131b0c53..cdc2bb590e2 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3272,6 +3272,8 @@ best_xim_style (user, xim) | |||
| 3272 | 3272 | ||
| 3273 | /* Create XIC for frame F. */ | 3273 | /* Create XIC for frame F. */ |
| 3274 | 3274 | ||
| 3275 | static XIMStyle xic_style; | ||
| 3276 | |||
| 3275 | void | 3277 | void |
| 3276 | create_frame_xic (f) | 3278 | create_frame_xic (f) |
| 3277 | struct frame *f; | 3279 | struct frame *f; |
| @@ -3279,7 +3281,6 @@ create_frame_xic (f) | |||
| 3279 | XIM xim; | 3281 | XIM xim; |
| 3280 | XIC xic = NULL; | 3282 | XIC xic = NULL; |
| 3281 | XFontSet xfs = NULL; | 3283 | XFontSet xfs = NULL; |
| 3282 | static XIMStyle xic_style; | ||
| 3283 | 3284 | ||
| 3284 | if (FRAME_XIC (f)) | 3285 | if (FRAME_XIC (f)) |
| 3285 | return; | 3286 | return; |