Ignore:
Timestamp:
2000-11-16T09:13:48+13:00 (23 years ago)
Author:
cs025
Message:

Fixed problem in uninstalling which appeared when uninstalling the shortcut
icons.
Parameters to undo didn't permit two parameters to be the same, and if for
example a shortcut was in a group with the same name, a parameter
disappeared. Fixed by extending stringArray class to be configured to accept
duplicate entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/stringArray.cpp

    r1498 r1673  
    2626}
    2727
     28void stringArray::permitDuplication(bool permit)
     29{   this->permitDups    = permit;
     30}
     31
    2832/**
    2933 * Add a new string to the array
    3034 */
    3135void stringArray::add(string member)
    32 {   if (!this->includes(member))
     36{   if (this->permitDups || !this->includes(member))
    3337    { this->array.push_back(member);
    3438  }
Note: See TracChangeset for help on using the changeset viewer.