Module: wine Branch: master Commit: cd7aecd52acc70d90a15d71a52365e8edac4f4df URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd7aecd52acc70d90a15d71a52...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Wed Mar 14 20:49:42 2007 +0100
cabinet: Simplify code in fdi_decomp().
---
dlls/cabinet/fdi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index 6815d6d..cb58949 100644 --- a/dlls/cabinet/fdi.c +++ b/dlls/cabinet/fdi.c @@ -2107,7 +2107,7 @@ static int fdi_decomp(const struct fdi_file *fi, int savemode, fdi_decomp_state
do {
- pathlen = (userpath) ? strlen(userpath) : 0; + pathlen = strlen(userpath); filenamelen = (cab->mii.nextname) ? strlen(cab->mii.nextname) : 0;
/* slight overestimation here to save CPU cycles in the developer's brain */