diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-27 08:38:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-27 08:38:12 +0300 |
commit | 0958620591375b41a8d21dd2a3501e1c9e5e9cba (patch) | |
tree | bbfcf29330c7408cd1991f3a81138c9bbba81419 /input | |
parent | ea4cc89f36e064b3224d633df8bc08cc49178d51 (diff) | |
download | mpv-0958620591375b41a8d21dd2a3501e1c9e5e9cba.tar.bz2 mpv-0958620591375b41a8d21dd2a3501e1c9e5e9cba.tar.xz |
bstr: rename BSTR() -> bstr()
Rename the BSTR() function to bstr(). The former caused a conflict
with some Windows OS name, and it's no longer a macro so uppercase
naming is less appropriate.
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 4fe0e5297c..f77dddfa91 100644 --- a/input/input.c +++ b/input/input.c @@ -1536,7 +1536,8 @@ int mp_input_get_key_from_name(const char *name) const char *p; while ((p = strchr(name, '+'))) { for (struct key_name *m = modifier_names; m->name; m++) - if (!bstrcasecmp(BSTR(m->name), (struct bstr){(char *)name, p - name})) { + if (!bstrcasecmp(bstr(m->name), + (struct bstr){(char *)name, p - name})) { modifiers |= m->key; goto found; } |