diff options
| author | Geoff Voelker | 1998-10-27 20:10:19 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-10-27 20:10:19 +0000 |
| commit | 5d84dd87147f39afd4bcb62c86e4db4e8c97a17a (patch) | |
| tree | c47588502daf7a2f8ec09712fd0f000bafba2289 /src | |
| parent | 46ac5b268d1703cd33ae433d92ea6b2ebcee62e8 (diff) | |
| download | emacs-5d84dd87147f39afd4bcb62c86e4db4e8c97a17a.tar.gz emacs-5d84dd87147f39afd4bcb62c86e4db4e8c97a17a.zip | |
(w32_color_map_lookup): Remove duplicate definition.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 8c0d93b0e66..5b65821dbda 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -1310,38 +1310,6 @@ w32_color_map_lookup (colorname) | |||
| 1310 | return ret; | 1310 | return ret; |
| 1311 | } | 1311 | } |
| 1312 | 1312 | ||
| 1313 | COLORREF | ||
| 1314 | w32_color_map_lookup (colorname) | ||
| 1315 | char *colorname; | ||
| 1316 | { | ||
| 1317 | Lisp_Object tail, ret = Qnil; | ||
| 1318 | |||
| 1319 | BLOCK_INPUT; | ||
| 1320 | |||
| 1321 | for (tail = Vw32_color_map; !NILP (tail); tail = Fcdr (tail)) | ||
| 1322 | { | ||
| 1323 | register Lisp_Object elt, tem; | ||
| 1324 | |||
| 1325 | elt = Fcar (tail); | ||
| 1326 | if (!CONSP (elt)) continue; | ||
| 1327 | |||
| 1328 | tem = Fcar (elt); | ||
| 1329 | |||
| 1330 | if (lstrcmpi (XSTRING (tem)->data, colorname) == 0) | ||
| 1331 | { | ||
| 1332 | ret = XUINT (Fcdr (elt)); | ||
| 1333 | break; | ||
| 1334 | } | ||
| 1335 | |||
| 1336 | QUIT; | ||
| 1337 | } | ||
| 1338 | |||
| 1339 | |||
| 1340 | UNBLOCK_INPUT; | ||
| 1341 | |||
| 1342 | return ret; | ||
| 1343 | } | ||
| 1344 | |||
| 1345 | COLORREF | 1313 | COLORREF |
| 1346 | x_to_w32_color (colorname) | 1314 | x_to_w32_color (colorname) |
| 1347 | char * colorname; | 1315 | char * colorname; |