From: Eric Biggers Date: Sun, 28 Apr 2013 18:21:12 +0000 (-0500) Subject: win32_extract_try_rpfix(): Simplify conditional X-Git-Tag: v1.3.3~8 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=5592f3bfcf0c2da0d8b9da8ec3f4c479e410aa0a;hp=c3fc666144a2c0ee61953391548aa852b9eaad8e win32_extract_try_rpfix(): Simplify conditional --- diff --git a/src/win32.c b/src/win32.c index 0defa13c..36f33f52 100644 --- a/src/win32.c +++ b/src/win32.c @@ -1399,7 +1399,7 @@ win32_extract_try_rpfix(u8 *rpbuf, /* Print name excludes the \??\ if present. */ new_print_name = p; - if (target_nchars - stripped_target_nchars != 0) { + if (stripped_nchars != 0) { /* Get drive letter from real path to extract root, if a drive * letter was present before. */ *p++ = extract_root_realpath[0];