projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20031122-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index 54a77ca176eada8cb4d960d596cd8cd825132d1d..948304ceabed40fbe7e355689d231d3ddb777302 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-2058,7
+2058,7
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
/* ---------- step 0: search for matching base prefix ---------- */
start_pos = 0;
/* ---------- step 0: search for matching base prefix ---------- */
start_pos = 0;
- for (i=0; i
<
num_base_prefixes && !base_prefix_found; i++)
+ for (i=0; i
<
num_base_prefixes && !base_prefix_found; i++)
{
char *base_prefix = base_prefixes[i];
int len_base_prefix = strlen(base_prefix);
{
char *base_prefix = base_prefixes[i];
int len_base_prefix = strlen(base_prefix);
@@
-2103,7
+2103,7
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
/* ---------- step 1: search for matching first suffix ---------- */
start_pos += len_base_prefix;
/* ---------- step 1: search for matching first suffix ---------- */
start_pos += len_base_prefix;
- for (j=0; j
<
num_ext1_suffixes && !ext1_suffix_found; j++)
+ for (j=0; j
<
num_ext1_suffixes && !ext1_suffix_found; j++)
{
char *ext1_suffix = ext1_suffixes[j];
int len_ext1_suffix = strlen(ext1_suffix);
{
char *ext1_suffix = ext1_suffixes[j];
int len_ext1_suffix = strlen(ext1_suffix);
@@
-2145,12
+2145,12
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
/* ---------- step 2: search for matching second suffix ---------- */
/* ---------- step 2: search for matching second suffix ---------- */
- for (k=0; k
<
num_ext2_suffixes && !ext2_suffix_found; k++)
+ for (k=0; k
<
num_ext2_suffixes && !ext2_suffix_found; k++)
{
char *ext2_suffix = ext2_suffixes[k];
int len_ext2_suffix = strlen(ext2_suffix);
{
char *ext2_suffix = ext2_suffixes[k];
int len_ext2_suffix = strlen(ext2_suffix);
- ext2_suffix_found = token_suffix_match(token, ext2_suffix,start_pos);
+ ext2_suffix_found = token_suffix_match(token, ext2_suffix,
start_pos);
if (!ext2_suffix_found)
continue;
if (!ext2_suffix_found)
continue;
@@
-2187,12
+2187,12
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
/* ---------- step 3: search for matching third suffix ---------- */
/* ---------- step 3: search for matching third suffix ---------- */
- for (l=0; l
<
num_ext3_suffixes && !ext3_suffix_found; l++)
+ for (l=0; l
<
num_ext3_suffixes && !ext3_suffix_found; l++)
{
char *ext3_suffix = ext3_suffixes[l];
int len_ext3_suffix = strlen(ext3_suffix);
{
char *ext3_suffix = ext3_suffixes[l];
int len_ext3_suffix = strlen(ext3_suffix);
- ext3_suffix_found =
token_suffix_match(token,ext3_suffix,
start_pos);
+ ext3_suffix_found =
token_suffix_match(token, ext3_suffix,
start_pos);
if (!ext3_suffix_found)
continue;
if (!ext3_suffix_found)
continue;