Mercurial > vim
comparison src/xpm_w32.c @ 18816:15539899a112 v8.1.2396
patch 8.1.2396: using old C style comments
Commit: https://github.com/vim/vim/commit/e38eab22c1fb950127f0307a9904de6d4561dc70
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 5 21:50:01 2019 +0100
patch 8.1.2396: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 Dec 2019 22:00:04 +0100 |
parents | 4aead6a9b7a9 |
children |
comparison
equal
deleted
inserted
replaced
18815:404220424246 | 18816:15539899a112 |
---|---|
14 #endif | 14 #endif |
15 #include <windows.h> | 15 #include <windows.h> |
16 | 16 |
17 #include "xpm_w32.h" | 17 #include "xpm_w32.h" |
18 | 18 |
19 /* Engage Windows support in libXpm */ | 19 // Engage Windows support in libXpm |
20 #define FOR_MSW | 20 #define FOR_MSW |
21 | 21 |
22 #include "xpm.h" | 22 #include "xpm.h" |
23 | 23 |
24 /* | 24 /* |
31 LoadXpmImage( | 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; |
40 HDC hdc = CreateCompatibleDC(NULL); | 40 HDC hdc = CreateCompatibleDC(NULL); |
41 | 41 |
42 attr.valuemask = 0; | 42 attr.valuemask = 0; |