Merge pull request #252 from shuffle2/master

Assign "user_defined" value properly for downloaded Gecko codes.
This commit is contained in:
Pierre Bourdon 2014-04-10 12:23:42 +02:00
commit 36a693e4fc
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
// stop at [ character (beginning of contributor name)
std::getline(ssline, gcode.name, '[');
gcode.name = StripSpaces(gcode.name);
gcode.user_defined = true;
// read the code creator name
std::getline(ssline, gcode.creator, ']');
read_state = 1;