Skip to content

Commit

Permalink
Tagging the 0.74.4.13 release of the KiTTY project.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyd01 committed May 2, 2021
1 parent 8ee447f commit 4f79b1e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion 0.74_My_PuTTY/version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define RELEASE 0.74
#define TEXTVER "Release 0.74"
#define SSHVER "-Release-0.74"
#define BINARY_VERSION 0,74,4,12
#define BINARY_VERSION 0,74,4,13
#define SOURCE_COMMIT "unavailable"
2 changes: 1 addition & 1 deletion 0.74_My_PuTTY/windows/version_minor.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
13
2 changes: 1 addition & 1 deletion docs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.74.4.12
0.74.4.13
23 changes: 14 additions & 9 deletions kitty.c
Original file line number Diff line number Diff line change
Expand Up @@ -5442,29 +5442,34 @@ void InitNameConfigFile( void ) {
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\putty.ini", InitialDirectory ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_INIT_FILE ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s", getenv("APPDATA"), INIT_SECTION ) ;
CreateDirectory( buffer, NULL ) ;
if( IniFileFlag != SAVEMODE_DIR ) {
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_INIT_FILE ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s", getenv("APPDATA"), INIT_SECTION ) ;
CreateDirectory( buffer, NULL ) ;
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_INIT_FILE ) ;
}
} else {
sprintf( buffer, "%s\\%s", InitialDirectory, DEFAULT_INIT_FILE ) ;
}
}
}

}
KittyIniFile=(char*)malloc( strlen( buffer)+2 ) ; strcpy( KittyIniFile, buffer) ;

if( KittySavFile != NULL ) { free( KittySavFile ) ; }
KittySavFile=NULL ;
sprintf( buffer, "%s\\%s", InitialDirectory, DEFAULT_SAV_FILE ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_SAV_FILE ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s", getenv("APPDATA"), INIT_SECTION ) ;
CreateDirectory( buffer, NULL ) ;
if( IniFileFlag != SAVEMODE_DIR ) {
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_SAV_FILE ) ;
if( !existfile( buffer ) ) {
sprintf( buffer, "%s\\%s", getenv("APPDATA"), INIT_SECTION ) ;
CreateDirectory( buffer, NULL ) ;
sprintf( buffer, "%s\\%s\\%s", getenv("APPDATA"), INIT_SECTION, DEFAULT_SAV_FILE ) ;
}
}
}
KittySavFile=(char*)malloc( strlen( buffer)+2 ) ; strcpy( KittySavFile, buffer) ;

sprintf( buffer, "%s\\kitty.dft", InitialDirectory ) ;
Expand Down

0 comments on commit 4f79b1e

Please sign in to comment.