Skip to content

Commit

Permalink
[8221] Removed trailing whitespaces
Browse files Browse the repository at this point in the history
    With excluded dep/ - as usual.

    Signed-off-by: freghar <compmancz@gmail.com>

--HG--
branch : trunk
  • Loading branch information
megamage committed Jul 30, 2009
1 parent 9dcaf30 commit bf8c093
Show file tree
Hide file tree
Showing 10 changed files with 103 additions and 103 deletions.
4 changes: 2 additions & 2 deletions contrib/mysql_to_pgsql/cmake/FindMySQL.cmake
Expand Up @@ -30,7 +30,7 @@ IF(MSVC)
ELSE(MSVC)
SET(MYSQL_NAMES mysqlclient mysqlclient_r)
ENDIF(MSVC)
SET(MYSQL_SEARCH_LIB_PATHS
SET(MYSQL_SEARCH_LIB_PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 6.0;Location]/lib/opt"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.1;Location]/lib/opt"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.0;Location]/lib/opt"
Expand Down Expand Up @@ -71,4 +71,4 @@ MARK_AS_ADVANCED(
MYSQL_INCLUDE_DIR
)

ENDMACRO(FIND_MYSQL)
ENDMACRO(FIND_MYSQL)
8 changes: 4 additions & 4 deletions contrib/mysql_to_pgsql/cmake/FindPostgreSQL.cmake
Expand Up @@ -14,7 +14,7 @@ ENDIF (PGSQL_INCLUDE_DIR)
# the registry settings checked are in order:
# - for pgInstaller 8.2.x postgresql version
# - for pgInstaller 8.3.x postgresql version
SET(PGSQL_WIN_BASE
SET(PGSQL_WIN_BASE
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\PostgreSQL\\Installations\\{B823632F-3B72-4514-8861-B961CE263224};Base Directory]"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\PostgreSQL\\Installations\\{1F701DBD-1660-4108-B10A-FB435EA63BF0};Base Directory]")

Expand Down Expand Up @@ -42,12 +42,12 @@ FIND_PATH(PGSQL_INCLUDE_DIR libpq-fe.h
)

SET(PGSQL_NAMES pq libpq)
SET(PGSQL_SEARCH_LIB_PATHS
SET(PGSQL_SEARCH_LIB_PATHS
${PGSQL_SEARCH_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\PostgreSQL\\Installations\\{1F701DBD-1660-4108-B10A-FB435EA63BF0};Base Directory]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\PostgreSQL\\Installations\\{B823632F-3B72-4514-8861-B961CE263224};Base Directory]/lib"
/usr/local/pgsql/lib
/usr/local/lib
/usr/local/pgsql/lib
/usr/local/lib
/usr/lib
)
FIND_LIBRARY(PGSQL_LIBRARY
Expand Down
4 changes: 2 additions & 2 deletions contrib/mysql_to_pgsql/src/defines.h
Expand Up @@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef _DEFINES_
#define _DEFINES_

Expand Down Expand Up @@ -59,7 +59,7 @@ typedef vector<sField> T_Table;
typedef vector<string> T_TableList;
typedef map< string, T_Table > TDataBase;

static
static
void pg_notice(void *arg, const char *message)
{
/// Do nothing
Expand Down
160 changes: 80 additions & 80 deletions doc/EventAI.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/game/AchievementMgr.cpp
Expand Up @@ -1306,7 +1306,7 @@ void AchievementMgr::UpdateAchievementCriteria(AchievementCriteriaTypes type, ui
if(IsCompletedCriteria(achievementCriteria,achievement))
CompletedCriteriaFor(achievement);

// check again the completeness for SUMM and REQ COUNT achievements,
// check again the completeness for SUMM and REQ COUNT achievements,
// as they don't depend on the completed criteria but on the sum of the progress of each individual criteria
if (achievement->flags & ACHIEVEMENT_FLAG_SUMM)
{
Expand Down Expand Up @@ -1523,7 +1523,7 @@ bool AchievementMgr::IsCompletedAchievement(AchievementEntry const* entry)
return false;
}

// Default case - need complete all or
// Default case - need complete all or
bool completed_all = true;
for(AchievementCriteriaEntryList::const_iterator itr = cList->begin(); itr != cList->end(); ++itr)
{
Expand Down
4 changes: 2 additions & 2 deletions src/game/ObjectMgr.cpp
Expand Up @@ -635,7 +635,7 @@ void ObjectMgr::LoadCreatureTemplates()

// used later for scale
CreatureDisplayInfoEntry const* displayScaleEntry = NULL;

if (cInfo->DisplayID_A[0])
{
CreatureDisplayInfoEntry const* displayEntry = sCreatureDisplayInfoStore.LookupEntry(cInfo->DisplayID_A[0]);
Expand Down Expand Up @@ -7111,7 +7111,7 @@ uint8 ObjectMgr::CheckPlayerName( const std::string& name, bool create )
uint32 strictMask = sWorld.getConfig(CONFIG_STRICT_PLAYER_NAMES);
if(!isValidString(wname,strictMask,false,create))
return CHAR_NAME_MIXED_LANGUAGES;

return CHAR_NAME_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion src/game/Pet.cpp
Expand Up @@ -156,7 +156,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
}

uint32 pet_number = fields[0].GetUInt32();

if (current && owner->IsPetNeedBeTemporaryUnsummoned())
{
owner->SetTemporaryUnsummonedPetNumber(pet_number);
Expand Down
2 changes: 1 addition & 1 deletion src/game/PlayerDump.cpp
Expand Up @@ -332,7 +332,7 @@ void PlayerDumpWriter::DumpTable(std::string& dump, uint32 guid, char const*tabl
std::string PlayerDumpWriter::GetDump(uint32 guid)
{
std::string dump;

dump += "IMPORTANT NOTE: This sql queries not created for apply directly, use '.pdump load' command in console or client chat instead.\n";
dump += "IMPORTANT NOTE: NOT APPLY ITS DIRECTLY to character DB or you will DAMAGE and CORRUPT character DB\n\n";

Expand Down
16 changes: 8 additions & 8 deletions src/game/SpellEffects.cpp
Expand Up @@ -932,7 +932,7 @@ void Spell::EffectDummy(uint32 i)
case 23448: // Transporter Arrival - Ultrasafe Transporter: Gadgetzan - backfires
{
int32 r = irand(0, 119);
if ( r < 20 ) // Transporter Malfunction - 1/6 polymorph
if ( r < 20 ) // Transporter Malfunction - 1/6 polymorph
m_caster->CastSpell(m_caster, 23444, true);
else if ( r < 100 ) // Evil Twin - 4/6 evil twin
m_caster->CastSpell(m_caster, 23445, true);
Expand Down Expand Up @@ -1155,13 +1155,13 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(m_caster, 45088, true);
return;
}
case 55004: // Nitro Boosts
if(!m_CastItem) return;
if(roll_chance_i(95)) // Nitro Boosts - success
m_caster->CastSpell(m_caster, 54861, true, m_CastItem);
else // Knocked Up - backfire 5%
m_caster->CastSpell(m_caster, 46014, true, m_CastItem);
return;
case 55004: // Nitro Boosts
if(!m_CastItem) return;
if(roll_chance_i(95)) // Nitro Boosts - success
m_caster->CastSpell(m_caster, 54861, true, m_CastItem);
else // Knocked Up - backfire 5%
m_caster->CastSpell(m_caster, 46014, true, m_CastItem);
return;
case 50243: // Teach Language
{
if(m_caster->GetTypeId() != TYPEID_PLAYER)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/vmap/TileAssembler.cpp
Expand Up @@ -243,7 +243,7 @@ namespace VMAP

char destnamebuffer[500];
char fullnamedestnamebuffer[500];

if(nameCollection.iMainFiles.size() >0)
{
sprintf(destnamebuffer,"%03u_%i_%i.vmap",pMapId, pYPos, pXPos); // flip it here too
Expand Down

0 comments on commit bf8c093

Please sign in to comment.