mirror of https://github.com/OpenTTD/OpenTTD
(svn r12557) -Cleanup: use MAX_PATH at two more places
parent
c745ca21a3
commit
110584808d
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
/** @file music.cpp */
|
/** @file music.cpp */
|
||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
#include "music.h"
|
#include "music.h"
|
||||||
|
|
||||||
const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
|
const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#define NUM_SONGS_AVAILABLE 22
|
#define NUM_SONGS_AVAILABLE 22
|
||||||
|
|
||||||
struct SongSpecs {
|
struct SongSpecs {
|
||||||
char filename[256];
|
char filename[MAX_PATH];
|
||||||
char song_name[64];
|
char song_name[64];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1287,7 +1287,7 @@ static inline char *replace_pathsep(char *s) { return s; }
|
||||||
|
|
||||||
int CDECL main(int argc, char* argv[])
|
int CDECL main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
char pathbuf[256];
|
char pathbuf[MAX_PATH];
|
||||||
const char *src_dir = ".";
|
const char *src_dir = ".";
|
||||||
const char *dest_dir = NULL;
|
const char *dest_dir = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue