diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-02-18 23:50:54 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-02-19 07:50:40 -0500 |
commit | f69d1d1438361f10fd8db78d2d38f26e33db9747 (patch) | |
tree | ef341a11b10987705b271ef84ab49b210d123880 /src/gallium/state_trackers/glx/xlib/glx_api.c | |
parent | 5fcaa78912bc78a5db410200c5987e2c57fad570 (diff) |
Remove _mesa_strncpy in favor of plain strncpy.
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib/glx_api.c')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index 3caf56e924..7e86e68b68 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -442,7 +442,7 @@ get_env_visual(Display *dpy, int scr, const char *varname) return NULL; } - _mesa_strncpy( value, _mesa_getenv(varname), 100 ); + strncpy( value, _mesa_getenv(varname), 100 ); value[99] = 0; sscanf( value, "%s %d", type, &depth ); |