]> wimlib.net Git - wimlib/blobdiff - src/win32.c
win32_extract_try_rpfix(): Simplify conditional
[wimlib] / src / win32.c
index 0defa13c7eddd1e65896586b0d4285e0dbbc60c2..36f33f522bc2c9d930047ff1b398be5f2cafa087 100644 (file)
@@ -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];