Обновление подмодулей
This commit is contained in:
@ -211,9 +211,9 @@ bool Paths::makeDefaultDirectories()
|
||||
{
|
||||
bool status = true;
|
||||
|
||||
if ( !m_dataDirectory.mkpath( m_dataDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_dataDirectory.mkpath( m_dataDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_configDirectory.mkpath( m_configDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_cacheDirectory.mkpath( m_cacheDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_cacheDirectory.mkpath( m_cacheDirectory.absolutePath() ) ) { status = false; }
|
||||
return( status );
|
||||
}
|
||||
|
||||
|
@ -68,9 +68,7 @@ int getExecutablePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
@ -156,9 +154,7 @@ int getModulePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
|
Reference in New Issue
Block a user