diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-03 20:44:43 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-23 12:15:06 -0800 |
commit | 3d0ece5e8467d823afb227b7a7f8b12b906b6ba9 (patch) | |
tree | 4e271a44ae6359d6bd6f9d890cc83954ea2f4727 /miext/rootless/rootlessWindow.h | |
parent | 05d8a7f7a785eff3292f0f0537bb3902930f1b5c (diff) |
Reduce unnecessary string copying in xkbtext routines
Instead of using sprintf to copy a static string to a local buffer,
just to pass it to TryCopyStr, pass the static string to TryCopyStr
directly, as is already done in other parts of this code.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'miext/rootless/rootlessWindow.h')
0 files changed, 0 insertions, 0 deletions