diff options
author | Torbjörn Andersson | 2007-07-27 05:15:24 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-07-27 05:15:24 +0000 |
commit | c2516db9ac72c835cd72bafee35bff1743bda81e (patch) | |
tree | 4175bd8f92ba6964a315b11136fdca9ad1e33149 /common/frac.h | |
parent | 548a1394e1c3279b7674ac8ab7d8b3206f19e787 (diff) | |
download | scummvm-rg350-c2516db9ac72c835cd72bafee35bff1743bda81e.tar.gz scummvm-rg350-c2516db9ac72c835cd72bafee35bff1743bda81e.tar.bz2 scummvm-rg350-c2516db9ac72c835cd72bafee35bff1743bda81e.zip |
Early in the morning, strrev() looks like a more difficult problem than it
really is. It's actually quite simple. In fact, the only magical thing about
Bob's version was the way it swapped variables without using any temporary
variable. Rewrote the function to use our SWAP() instead, since that actually
makes it readable. Moved it to util.cpp (outside the Common namespace, for
consistency with scumm_stricmp()) since Kirben knew of other places where it
could be used.
svn-id: r28231
Diffstat (limited to 'common/frac.h')
0 files changed, 0 insertions, 0 deletions