summaryrefslogtreecommitdiffstats
path: root/path.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-27 08:38:12 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-27 08:38:12 +0300
commit0958620591375b41a8d21dd2a3501e1c9e5e9cba (patch)
treebbfcf29330c7408cd1991f3a81138c9bbba81419 /path.c
parentea4cc89f36e064b3224d633df8bc08cc49178d51 (diff)
downloadmpv-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 'path.c')
-rw-r--r--path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/path.c b/path.c
index cd5a057a88..b99d694df5 100644
--- a/path.c
+++ b/path.c
@@ -201,7 +201,7 @@ struct bstr mp_dirname(const char *path)
{
struct bstr ret = {(uint8_t *)path, mp_basename(path) - path};
if (ret.len == 0)
- return BSTR(".");
+ return bstr(".");
return ret;
}