diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 23:35:45 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 23:35:45 +0200 |
commit | 7cf6ccee8c6b59d8aac17ab6e4673bcb69f5e8d2 (patch) | |
tree | b329db03bae14fca178add9909b78b050345c140 /draw/arch_port.c | |
parent | efc46353676c27b24f2933dce78305796951a01e (diff) | |
download | mupdf-7cf6ccee8c6b59d8aac17ab6e4673bcb69f5e8d2.tar.xz |
Le Roi est mort, vive le Roi!
The run-together words are dead! Long live the underscores!
The postscript inspired naming convention of using all run-together
words has served us well, but it is now time for more readable code.
In this commit I have also added the sed script, rename.sed, that I used
to convert the source. Use it on your patches and application code.
Diffstat (limited to 'draw/arch_port.c')
-rw-r--r-- | draw/arch_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/arch_port.c b/draw/arch_port.c index c7be977a..fa5890b5 100644 --- a/draw/arch_port.c +++ b/draw/arch_port.c @@ -471,7 +471,7 @@ img_1o1_32bit(byte * restrict src, byte cov, int len, byte * restrict dst, void fz_accelerate(void) { - if (sizeof(int) == 4 && sizeof(unsigned int) == 4 && !fz_isbigendian()) + if (sizeof(int) == 4 && sizeof(unsigned int) == 4 && !fz_is_big_endian()) { // fz_path_w4i1o4 = path_w4i1o4_32bit; // fz_text_w4i1o4 = text_w4i1o4_32bit; @@ -481,6 +481,6 @@ void fz_accelerate(void) } #ifdef HAVE_CPUDEP - fz_acceleratearch(); + fz_accelerate_arch(); #endif } |