diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-16 22:02:40 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-02-16 22:02:40 -0500 |
commit | f8b57585efa3e2dda68336065b7f3ec200a6d51e (patch) | |
tree | c9cfe594f2ecafabf0bc993ce6787e5f976835b5 | |
parent | 934c0eb09283a8124eea9dfab25936006f356cfe (diff) |
Actually do something with return value of getenv().
Oops.
-rw-r--r-- | eagle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ eglLoadDriver(EGLDisplay display, const char *driverName) if (geteuid() == getuid()) { path = getenv("EAGLE_DRIVER_PATH"); if (path == NULL) - getenv("LIBGL_DRIVERS_PATH"); + path = getenv("LIBGL_DRIVERS_PATH"); } if (path == NULL) path = driDriverPath; |