summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-29 09:04:34 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-29 09:04:34 +0800
commit5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf (patch)
tree613f4bbc13afd8eae5cb3e6d6bffc02ca67e72db
parent639d9640ee37dea861c8fc76e611e2c9e7405b89 (diff)
downloadpttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar.gz
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar.bz2
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar.lz
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar.xz
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.tar.zst
pttbbs-5f7d21d9ab7d9d7bc246e9c9ede9ff35d07353cf.zip
don't convert folders when importing for boards
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4329 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--trans/wretch_trans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/trans/wretch_trans.c b/trans/wretch_trans.c
index 6a0021bf..d4c85b6f 100644
--- a/trans/wretch_trans.c
+++ b/trans/wretch_trans.c
@@ -75,6 +75,9 @@ int convert(char *fname, char *newpath)
}
else if (whdr.xmode & WR_GEM_FOLDER) {
/* folder */
+ if (!trans_man)
+ continue;
+
stampdir(newpath, &fhdr);
if (trans_man)