diff options
| author | Jason Rumney | 2004-05-17 21:33:16 +0000 |
|---|---|---|
| committer | Jason Rumney | 2004-05-17 21:33:16 +0000 |
| commit | e0c181ddf1c5e93dead35a9017db6409255b1597 (patch) | |
| tree | 988d42156e89e0c8b08b5947180a757238c4c61f /src | |
| parent | 4fdbdbbd3870f8fa29605b24b4ff1c933b51408f (diff) | |
| download | emacs-e0c181ddf1c5e93dead35a9017db6409255b1597.tar.gz emacs-e0c181ddf1c5e93dead35a9017db6409255b1597.zip | |
Rename w32_num_mouse_buttons from Vw32_num_mouse_buttons.
Use const more consistently.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -105,7 +105,7 @@ void globals_of_w32 (); | |||
| 105 | extern Lisp_Object Vw32_downcase_file_names; | 105 | extern Lisp_Object Vw32_downcase_file_names; |
| 106 | extern Lisp_Object Vw32_generate_fake_inodes; | 106 | extern Lisp_Object Vw32_generate_fake_inodes; |
| 107 | extern Lisp_Object Vw32_get_true_file_attributes; | 107 | extern Lisp_Object Vw32_get_true_file_attributes; |
| 108 | extern Lisp_Object Vw32_num_mouse_buttons; | 108 | extern int w32_num_mouse_buttons; |
| 109 | 109 | ||
| 110 | 110 | ||
| 111 | /* | 111 | /* |
| @@ -1094,7 +1094,7 @@ init_environment (char ** argv) | |||
| 1094 | /* Determine if there is a middle mouse button, to allow parse_button | 1094 | /* Determine if there is a middle mouse button, to allow parse_button |
| 1095 | to decide whether right mouse events should be mouse-2 or | 1095 | to decide whether right mouse events should be mouse-2 or |
| 1096 | mouse-3. */ | 1096 | mouse-3. */ |
| 1097 | XSETINT (Vw32_num_mouse_buttons, GetSystemMetrics (SM_CMOUSEBUTTONS)); | 1097 | w32_num_mouse_buttons = GetSystemMetrics (SM_CMOUSEBUTTONS); |
| 1098 | 1098 | ||
| 1099 | init_user_info (); | 1099 | init_user_info (); |
| 1100 | } | 1100 | } |
| @@ -1627,7 +1627,7 @@ static WIN32_FIND_DATA dir_find_data; | |||
| 1627 | /* Support shares on a network resource as subdirectories of a read-only | 1627 | /* Support shares on a network resource as subdirectories of a read-only |
| 1628 | root directory. */ | 1628 | root directory. */ |
| 1629 | static HANDLE wnet_enum_handle = INVALID_HANDLE_VALUE; | 1629 | static HANDLE wnet_enum_handle = INVALID_HANDLE_VALUE; |
| 1630 | HANDLE open_unc_volume (char *); | 1630 | HANDLE open_unc_volume (const char *); |
| 1631 | char *read_unc_volume (HANDLE, char *, int); | 1631 | char *read_unc_volume (HANDLE, char *, int); |
| 1632 | void close_unc_volume (HANDLE); | 1632 | void close_unc_volume (HANDLE); |
| 1633 | 1633 | ||
| @@ -1740,7 +1740,7 @@ readdir (DIR *dirp) | |||
| 1740 | } | 1740 | } |
| 1741 | 1741 | ||
| 1742 | HANDLE | 1742 | HANDLE |
| 1743 | open_unc_volume (char *path) | 1743 | open_unc_volume (const char *path) |
| 1744 | { | 1744 | { |
| 1745 | NETRESOURCE nr; | 1745 | NETRESOURCE nr; |
| 1746 | HANDLE henum; | 1746 | HANDLE henum; |
| @@ -1797,7 +1797,7 @@ close_unc_volume (HANDLE henum) | |||
| 1797 | } | 1797 | } |
| 1798 | 1798 | ||
| 1799 | DWORD | 1799 | DWORD |
| 1800 | unc_volume_file_attributes (char *path) | 1800 | unc_volume_file_attributes (const char *path) |
| 1801 | { | 1801 | { |
| 1802 | HANDLE henum; | 1802 | HANDLE henum; |
| 1803 | DWORD attrs; | 1803 | DWORD attrs; |