Changeset 17591 in niluje


Ignore:
Timestamp:
Jul 29, 2020, 4:13:51 AM (11 days ago)
Author:
NiLuJe
Message:

MobiCover:

  • Ensure output dir is terminated by a /
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Touch_Hacks/MobiCover/LibMobi/mobicover.c

    r17590 r17591  
    248248        char cover_path[FILENAME_MAX];
    249249        if (outdir) {
    250                 snprintf(cover_path, sizeof(cover_path), "%scover_raw_%s.%s", outdir, cdekey, ext);
    251         } else {
    252                 snprintf(cover_path, sizeof(cover_path), "%scover_raw_%s.%s", dirname, cdekey, ext);
     250                snprintf(cover_path, sizeof(cover_path), "%s/cover_raw_%s.%s", outdir, cdekey, ext);
     251        } else {
     252                snprintf(cover_path, sizeof(cover_path), "%s/cover_raw_%s.%s", dirname, cdekey, ext);
    253253        }
    254254        free(asin);
Note: See TracChangeset for help on using the changeset viewer.