Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e0c181dd
Commit
e0c181dd
authored
May 17, 2004
by
Jason Rumney
Browse files
Rename w32_num_mouse_buttons from Vw32_num_mouse_buttons.
Use const more consistently.
parent
4fdbdbbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/w32.c
src/w32.c
+5
-5
No files found.
src/w32.c
View file @
e0c181dd
...
...
@@ -105,7 +105,7 @@ void globals_of_w32 ();
extern
Lisp_Object
Vw32_downcase_file_names
;
extern
Lisp_Object
Vw32_generate_fake_inodes
;
extern
Lisp_Object
Vw32_get_true_file_attributes
;
extern
Lisp_Objec
t
V
w32_num_mouse_buttons
;
extern
in
t
w32_num_mouse_buttons
;
/*
...
...
@@ -1094,7 +1094,7 @@ init_environment (char ** argv)
/* Determine if there is a middle mouse button, to allow parse_button
to decide whether right mouse events should be mouse-2 or
mouse-3. */
XSETINT
(
V
w32_num_mouse_buttons
,
GetSystemMetrics
(
SM_CMOUSEBUTTONS
)
)
;
w32_num_mouse_buttons
=
GetSystemMetrics
(
SM_CMOUSEBUTTONS
);
init_user_info
();
}
...
...
@@ -1627,7 +1627,7 @@ static WIN32_FIND_DATA dir_find_data;
/* Support shares on a network resource as subdirectories of a read-only
root directory. */
static
HANDLE
wnet_enum_handle
=
INVALID_HANDLE_VALUE
;
HANDLE
open_unc_volume
(
char
*
);
HANDLE
open_unc_volume
(
const
char
*
);
char
*
read_unc_volume
(
HANDLE
,
char
*
,
int
);
void
close_unc_volume
(
HANDLE
);
...
...
@@ -1740,7 +1740,7 @@ readdir (DIR *dirp)
}
HANDLE
open_unc_volume
(
char
*
path
)
open_unc_volume
(
const
char
*
path
)
{
NETRESOURCE
nr
;
HANDLE
henum
;
...
...
@@ -1797,7 +1797,7 @@ close_unc_volume (HANDLE henum)
}
DWORD
unc_volume_file_attributes
(
char
*
path
)
unc_volume_file_attributes
(
const
char
*
path
)
{
HANDLE
henum
;
DWORD
attrs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment