瀏覽代碼

fixed 5 files out of 2793:

- removed 2 CR characters
 - removed 16 trailing whitespaces
 - replaced 0 tabs with spaces
 - fixed 4 svn:eol-style properties
undefined
Lolbot Sam Hocevar <sam@hocevar.net> 10 年之前
父節點
當前提交
7f6d2054e5
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. +2
    -2
      src/image/codec/zed-image.cpp
  2. +1
    -1
      src/sys/thread.cpp

+ 2
- 2
src/image/codec/zed-image.cpp 查看文件

@@ -147,7 +147,7 @@ bool ZedImageData::Open(char const *path)
file_offset << file_size; file_offset << file_size;


m_tiles.Reserve(file_count); m_tiles.Reserve(file_count);
Compacter2d compacter; Compacter2d compacter;
compacter.StepSetup(8, 8, 10); compacter.StepSetup(8, 8, 10);


@@ -194,7 +194,7 @@ bool ZedImageData::Open(char const *path)
compacter.Store(m_tiles.Count(), ivec2(size_x, size_y)); compacter.Store(m_tiles.Count(), ivec2(size_x, size_y));
m_tiles.Push(ivec2(file_convert.Count(), data_length), ivec2(size_x, size_y)); m_tiles.Push(ivec2(file_convert.Count(), data_length), ivec2(size_x, size_y));
file_convert.Resize(convert_pos + data_length); file_convert.Resize(convert_pos + data_length);
//Retrieve actual datas //Retrieve actual datas
file_pos = data_pos; file_pos = data_pos;
memcpy(&file_convert[convert_pos], &file_buffer[file_pos], data_length); memcpy(&file_convert[convert_pos], &file_buffer[file_pos], data_length);


+ 1
- 1
src/sys/thread.cpp 查看文件

@@ -60,7 +60,7 @@ bool BaseThreadManager::Stop()


return true; return true;
} }
//Work stuff //Work stuff
bool BaseThreadManager::AddWork(ThreadJob* job) bool BaseThreadManager::AddWork(ThreadJob* job)
{ {


Loading…
取消
儲存