mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
fixed small bug, which shows up only under NT4
svn path=/trunk/; revision=8043
This commit is contained in:
parent
55d09ef598
commit
994297a05a
|
@ -489,9 +489,9 @@ void Pane::draw_item(LPDRAWITEMSTRUCT dis, Entry* entry, int calcWidthCol)
|
|||
// output type/class name
|
||||
if (visible_cols & COL_TYPE) {
|
||||
if (calcWidthCol == -1)
|
||||
_out_wrkr.output_text(dis, _positions, col, entry->_type_name, 0);
|
||||
_out_wrkr.output_text(dis, _positions, col, entry->_type_name? entry->_type_name: TEXT(""), 0);
|
||||
else if (calcWidthCol==col || calcWidthCol==COLUMNS)
|
||||
calc_width(dis, col, entry->_type_name);
|
||||
calc_width(dis, col, entry->_type_name? entry->_type_name: TEXT(""));
|
||||
}
|
||||
++col;
|
||||
|
||||
|
@ -617,9 +617,9 @@ void Pane::draw_item(LPDRAWITEMSTRUCT dis, Entry* entry, int calcWidthCol)
|
|||
// output content / symbolic link target / comment
|
||||
if (visible_cols & COL_CONTENT) {
|
||||
if (calcWidthCol == -1)
|
||||
_out_wrkr.output_text(dis, _positions, col, entry->_content, 0);
|
||||
_out_wrkr.output_text(dis, _positions, col, entry->_content? entry->_content: TEXT(""), 0);
|
||||
else if (calcWidthCol==col || calcWidthCol==COLUMNS)
|
||||
calc_width(dis, col, entry->_content);
|
||||
calc_width(dis, col, entry->_content? entry->_content: TEXT(""));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue