Browse Source

Fixed name buffer not getting flushed before use.

pull/3/head
JustinAJ 10 years ago
parent
commit
c3986f1db4
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 1
      RenX.Core/RenX_BanDatabase.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

1
RenX.Core/RenX_BanDatabase.cpp

@ -58,6 +58,7 @@ bool RenX::BanDatabase::load(const Jupiter::ReadableString &fname)
} }
// load name // load name
playerName.truncate(playerName.size());
c = fgetc(file); c = fgetc(file);
while (c != '\n' && c != '\0') while (c != '\n' && c != '\0')
{ {

Loading…
Cancel
Save