popMenu: Fix invalid allocation

https://bugzilla.gnome.org/show_bug.cgi?id=704453
This commit is contained in:
Lionel Landwerlin 2013-07-18 11:11:48 +01:00
parent ded99b9a09
commit 185152a74a

View File

@ -313,7 +313,7 @@ const PopupBaseMenuItem = new Lang.Class({
availWidth = box.x2 - x;
} else {
if (this._columnWidths)
availWidth += this._columnWidths[col++];
availWidth = this._columnWidths[col++];
else
availWidth = naturalWidth;
}