Mercurial > vim
comparison src/xpm_w32.c @ 7837:33ba2adb6065
commit https://github.com/vim/vim/commit/b638a7be952544ceb03052c25b84224577a6494b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 21:29:58 2016 +0100
patch 7.4.1215
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 21:30:04 +0100 |
parents | 1a5d34492798 |
children | 4aead6a9b7a9 |
comparison
equal
deleted
inserted
replaced
7836:4f052afd5b05 | 7837:33ba2adb6065 |
---|---|
26 * Returns -1 on failure. | 26 * Returns -1 on failure. |
27 * Returns 0 on success and stores image and mask BITMAPS in "hImage" and | 27 * Returns 0 on success and stores image and mask BITMAPS in "hImage" and |
28 * "hShape". | 28 * "hShape". |
29 */ | 29 */ |
30 int | 30 int |
31 LoadXpmImage(filename, hImage, hShape) | 31 LoadXpmImage( |
32 char *filename; | 32 char *filename, |
33 HBITMAP *hImage; | 33 HBITMAP *hImage, |
34 HBITMAP *hShape; | 34 HBITMAP *hShape) |
35 { | 35 { |
36 XImage *img; /* loaded image */ | 36 XImage *img; /* loaded image */ |
37 XImage *shp; /* shapeimage */ | 37 XImage *shp; /* shapeimage */ |
38 XpmAttributes attr; | 38 XpmAttributes attr; |
39 int res; | 39 int res; |