"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gui/SKMapPanel.cpp" between
yudit-3.0.1.tar.gz and yudit-3.0.2.tar.gz

About: yudit is an Unicode plain-text editor that can do True Type font rendering, printing, transliterated keyboard input and handwriting recognition with no dependencies on external engines.

SKMapPanel.cpp  (yudit-3.0.1):SKMapPanel.cpp  (yudit-3.0.2)
skipping to change at line 452 skipping to change at line 452
for (unsigned int i=0; i<100 && i<128-32; i++) for (unsigned int i=0; i<100 && i<128-32; i++)
{ {
s[0] = (char)(i+32); s[0] = (char)(i+32);
s[1] = 0; s[1] = 0;
kv.append (s); kv.append (s);
vv.append (s); vv.append (s);
} }
} }
else else
{ {
SStringVector allkv;
SStringVector allvv;
SEncoder enc (map); SEncoder enc (map);
if (enc.isOK()) if (enc.isOK())
{ {
more = (enc.getDecoderMap (&kv, &vv, 800) > 800); more = (enc.getDecoderMap (&allkv, &allvv, 800) > 800);
}
unsigned int i;
// put . at the end.
for (i=0; i<allkv.size(); i++) {
SString key = allkv[i];
if (key.size() > 0 && key[0] == '.') continue;
kv.append (key);
vv.append (allvv[i]);
}
for (i=0; i<allkv.size(); i++) {
SString key = allkv[i];
if (key.size() > 0 && key[0] != '.') continue;
kv.append (key);
vv.append (allvv[i]);
} }
} }
if (more) if (more)
{ {
kv.append (".."); kv.append ("..");
vv.append (".."); vv.append ("..");
} }
t.append (kv); t.append (kv);
t.append (vv); t.append (vv);
sampleList = vv; sampleList = vv;
 End of changes. 2 change blocks. 
1 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)