mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Replace post-increment with pre-increment
And post-decrement with pre-decrement.
This commit is contained in:
parent
40330c4606
commit
5ddbf9bba9
16 changed files with 58 additions and 58 deletions
|
@ -58,7 +58,7 @@ loadSelectedCategory();
|
|||
|
||||
function genHash(string) {
|
||||
var hash = 0;
|
||||
for (var i = 0; i < string.length; i++) {
|
||||
for (var i = 0; i < string.length; ++i) {
|
||||
var c = string.charCodeAt(i);
|
||||
hash = (c + hash * 31) | 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue