1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 18:39:10 +00:00

(svn r12557) -Cleanup: use MAX_PATH at two more places

This commit is contained in:
smatz
2008-04-04 00:06:51 +00:00
parent c745ca21a3
commit 110584808d
3 changed files with 3 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
/** @file music.cpp */
#include "stdafx.h"
#include "music.h"
const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {

View File

@@ -9,7 +9,7 @@
#define NUM_SONGS_AVAILABLE 22
struct SongSpecs {
char filename[256];
char filename[MAX_PATH];
char song_name[64];
};

View File

@@ -1287,7 +1287,7 @@ static inline char *replace_pathsep(char *s) { return s; }
int CDECL main(int argc, char* argv[])
{
char pathbuf[256];
char pathbuf[MAX_PATH];
const char *src_dir = ".";
const char *dest_dir = NULL;