Official eMule-Board: Tiny Improvement To Abstractfile... - Official eMule-Board

Jump to content


Page 1 of 1

Tiny Improvement To Abstractfile...

#1 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,127
  • Joined: 25-June 03

Posted 04 October 2005 - 02:56 PM

saw this code while working on a feature...:

Quote

...
  bool  HasRating()  const { return m_uUserRating > 0; }
  bool  HasBadRating()  const { return ( HasRating() && (m_uUserRating < 2)); }
...

it would somewhat improve if we change the marked code

Quote

...
  bool  HasRating()  const { return m_uUserRating > 0; }
  bool  HasBadRating()  const { return (m_uUserRating == 1); }
...


Regards,
Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users