diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-04-13 17:23:30 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-04-13 17:23:30 +0000 |
commit | c4c0eb4d12a40d835d83739e711da6c84bbecd85 (patch) | |
tree | aecc6107bad8e413b91204f2d1564a4c8c8dba62 | |
parent | 1f74b681cb08f01e1f645b3182167908f18e3808 (diff) |
bug-fixes
svn path=/trunk/externals/zexy/; revision=2761
-rw-r--r-- | src/limiter_tilde.c | 2 | ||||
-rw-r--r-- | src/lpt.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/limiter_tilde.c b/src/limiter_tilde.c index fbe6e69..7a53d8d 100644 --- a/src/limiter_tilde.c +++ b/src/limiter_tilde.c @@ -259,7 +259,7 @@ static void set_compressor(t_limiter *x, t_floatarg limit, t_floatarg treshold, t_float lim = dbtorms(limit); t_float tresh = dbtorms(treshold); - if ((limit == 0) && (treshold = 0) && (ratio = 0)) {set_mode(x, COMPRESS); return;} + if ((limit == 0) && (treshold == 0) && (ratio == 0)) {set_mode(x, COMPRESS); return;} if (tresh > lim) tresh = lim; if (ratio < 0.) ratio = 1.; @@ -71,11 +71,11 @@ static int sys_inb(int port) static void sys_outb(unsigned char byte, int port) { - outb(byte, port); + outb(byte, port); } static int sys_inb(int port) { - inb(port); + return inb(port); } # endif /* NT */ #endif /* Z_WANT_LP */ |