diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-21 17:39:45 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-21 17:39:45 +0000 |
commit | c13392f8596e858110dc4c61fbdf1d41e47cc8a9 (patch) | |
tree | 7eb5a3790ce4069393addff302d24306a496a04e /plugins/YAPP/src/yapp_history.cpp | |
parent | d1851afba0e105ab2b0c7e8ad5e72a4dfbc5dd71 (diff) |
- Added lParam to POPUPCLASS
- Removed MS_POPUP_ISSECONDLINESHOWN
- Support for mutating popups in Facebook
git-svn-id: http://svn.miranda-ng.org/main/trunk@9021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/yapp_history.cpp')
-rw-r--r-- | plugins/YAPP/src/yapp_history.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/YAPP/src/yapp_history.cpp b/plugins/YAPP/src/yapp_history.cpp index a7cfd70fc6..0b1d534cb0 100644 --- a/plugins/YAPP/src/yapp_history.cpp +++ b/plugins/YAPP/src/yapp_history.cpp @@ -16,8 +16,7 @@ PopupHistoryList::~PopupHistoryList() void PopupHistoryList::Clear() { - int i; - for (i = 0; i < count; i++) + for (int i = 0; i < count; i++) { DeleteData(i); } @@ -26,9 +25,8 @@ void PopupHistoryList::Clear() void PopupHistoryList::RemoveItem(int index) { - int i; DeleteData(index); //free the mem for that particular item - for (i = index + 1; i < count; i++) + for (int i = index + 1; i < count; i++) { historyData[i - 1] = historyData[i]; //shift all items to the left } |