diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index 038ad352a..e5987d210 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -2749,7 +2749,7 @@ namespace NLGUI string buttonTemplate = DefaultButtonGroup; // Action handler parameters : "name=group_html_id|form=id_of_the_form|submit_button=button_name" string param = "name=" + this->_Id + "|url=" + getLink(); - string name = ""; + string name; if (!_AnchorName.empty()) name = _AnchorName.back(); typedef pair TTmplParam; diff --git a/code/ryzom/common/src/game_share/inventories.h b/code/ryzom/common/src/game_share/inventories.h index 297b97656..7b9782c9d 100644 --- a/code/ryzom/common/src/game_share/inventories.h +++ b/code/ryzom/common/src/game_share/inventories.h @@ -167,17 +167,17 @@ namespace INVENTORIES pet_animal5, pet_animal6, pet_animal7, - max_pet_animal, // 10 - NUM_INVENTORY = max_pet_animal, // 10 - UNDEFINED = NUM_INVENTORY, // 10 + max_pet_animal, // 11 + NUM_INVENTORY = max_pet_animal, // 11 + UNDEFINED = NUM_INVENTORY, // 11 - exchange, // 11 This is not a bug : exchange is a fake inventory - exchange_proposition, // 12 and should not count in the number of inventory + exchange, // 12 This is not a bug : exchange is a fake inventory + exchange_proposition, // 13 and should not count in the number of inventory // same for botChat trading. - trading, // 13 - reward_sharing, // 14 fake inventory, not in database.xml. Used by the item info protocol only - guild, // 15 (warning: number stored in guild saved file) - player_room, // 16 + trading, // 14 + reward_sharing, // 15 fake inventory, not in database.xml. Used by the item info protocol only + guild, // 16 (warning: number stored in guild saved file) + player_room, // 17 NUM_ALL_INVENTORY // warning: distinct from NUM_INVENTORY };