[VSDK] VDK_Text with unique attribute broken?

Eric Forget forgete at cafederic.com
Mon Nov 8 13:37:00 CST 2004


Hi Ruslan,

Is it just me or the "unique" attribute set on a VDK_Text is broken? It
looks like a bad initialization of a variable. The first search for
uniqueness is working. However, all the following is using the value of the
first search, which is definitively no longer unique.

For example with starting values:

Untitled 1
Untitled 2

If I add "Untitled 3" it will compare with both "Untitled 1 and "Untitled 2"
and found it is unique. I will then have:

Untitled 1
Untitled 2
Untitled 3

If I then add "Untitled 4" it will compare "Untitled 3" with the 3 values
above and find that "Untitled 4" is not unique.

I know this because I have my own compare function and I've put a trace in
it.

Éric

___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>





More information about the Valentina mailing list