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:
@@ -2,6 +2,7 @@
|
||||
|
||||
/** @file music.cpp */
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "music.h"
|
||||
|
||||
const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE] = {
|
||||
|
@@ -9,7 +9,7 @@
|
||||
#define NUM_SONGS_AVAILABLE 22
|
||||
|
||||
struct SongSpecs {
|
||||
char filename[256];
|
||||
char filename[MAX_PATH];
|
||||
char song_name[64];
|
||||
};
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user