Changeset 637


Ignore:
Timestamp:
Apr 29, 2017, 12:12:06 AM (8 years ago)
Author:
Gregg Young
Message:

Fix INI file placement. Ticket #348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Lucide/gui/lucide.cpp

    r626 r637  
    11261126    ULONG sz = sizeof( filename );
    11271127
    1128     strcpy( filename, "LUCIDE.INI" );
     1128    if (PrfQueryProfileString( HINI_USERPROFILE, appName, "Path", "", filename, sz ))
     1129        strcat( strupr(filename), "\\LUCIDE.INI" );
     1130    else
     1131        strcpy( filename, "LUCIDE.INI" );
    11291132    hinilucideprofile = PrfOpenProfile(hab, filename);
    11301133
Note: See TracChangeset for help on using the changeset viewer.