summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-29 08:18:54 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-29 08:18:54 +0200
commit76b978d039f922ed84796deb999389ebb1579191 (patch)
tree90e4fe3efe7a18b896e49fd7fb65ba7a144cac0f /src/lib/util
parent64219f27d20c0f6f2dc8c168c8c19ba9420f889d (diff)
Cleanups and version bumpmame0161
Diffstat (limited to 'src/lib/util')
-rw-r--r--src/lib/util/corestr.c4
-rw-r--r--src/lib/util/hashing.c2
-rw-r--r--src/lib/util/zippath.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util/corestr.c b/src/lib/util/corestr.c
index 7e42e235065..8a78a672ac6 100644
--- a/src/lib/util/corestr.c
+++ b/src/lib/util/corestr.c
@@ -193,7 +193,7 @@ char *core_i64_format(UINT64 value, UINT8 mindigits, bool is_octal)
}
/*-------------------------------------------------
- std::string helpers
+ std::string helpers
-------------------------------------------------*/
#include <algorithm>
@@ -312,4 +312,4 @@ int strreplace(std::string &str, const std::string& search, const std::string& r
str.erase(curindex, searchlen).insert(curindex, replace);
}
return matches;
-} \ No newline at end of file
+}
diff --git a/src/lib/util/hashing.c b/src/lib/util/hashing.c
index b4e2b7a9d6d..1481de34a12 100644
--- a/src/lib/util/hashing.c
+++ b/src/lib/util/hashing.c
@@ -167,7 +167,7 @@ bool crc32_t::from_string(const char *string, int length)
//-------------------------------------------------
const char *crc32_t::as_string(std::string &buffer) const
-{
+{
strprintf(buffer, "%08x", m_raw);
return buffer.c_str();
}
diff --git a/src/lib/util/zippath.c b/src/lib/util/zippath.c
index fdb5a3b957d..e4433ac0fc4 100644
--- a/src/lib/util/zippath.c
+++ b/src/lib/util/zippath.c
@@ -332,7 +332,7 @@ file_error zippath_fopen(const char *filename, UINT32 openflags, core_file *&fil
temp2.assign(mainpath).append(PATH_SEPARATOR).append(subpath);
subpath.assign(temp2);
}
- else
+ else
{
mainpath = mainpath.substr(temp.length());
subpath.assign(mainpath);