aboutsummaryrefslogtreecommitdiffstats
path: root/al/error.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-21 21:26:36 -0800
committerChris Robinson <[email protected]>2023-12-21 21:26:36 -0800
commit863c48a3e78e8a2f1e9217eaf6cda02cbe44e366 (patch)
treef08e2a3a5e63a142824c526d8b3caaa8301d4f5f /al/error.cpp
parentec2ffbfa6ddda5cb6fc37074e7f9e37f8315da39 (diff)
Use string_views for querying config parameters
Diffstat (limited to 'al/error.cpp')
-rw-r--r--al/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/error.cpp b/al/error.cpp
index b8692118..26dc522f 100644
--- a/al/error.cpp
+++ b/al/error.cpp
@@ -108,7 +108,7 @@ AL_API auto AL_APIENTRY alGetError() noexcept -> ALenum
{
auto optstr = al::getenv(envname);
if(!optstr)
- optstr = ConfigValueStr(nullptr, "game_compat", optname);
+ optstr = ConfigValueStr({}, "game_compat", optname);
if(optstr)
{