diff options
Diffstat (limited to 'third_party/agg23/agg_path_storage.cpp')
-rw-r--r-- | third_party/agg23/agg_path_storage.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/third_party/agg23/agg_path_storage.cpp b/third_party/agg23/agg_path_storage.cpp index 747777d28e..c24f7952ba 100644 --- a/third_party/agg23/agg_path_storage.cpp +++ b/third_party/agg23/agg_path_storage.cpp @@ -57,13 +57,9 @@ void path_storage::allocate_block(unsigned nb) unsigned char** new_cmds = (unsigned char**)(new_coords + m_max_blocks + block_pool); if(m_coord_blocks) { - FXSYS_memcpy(new_coords, - m_coord_blocks, - m_max_blocks * sizeof(float*)); - FXSYS_memcpy(new_cmds, - m_cmd_blocks, - m_max_blocks * sizeof(unsigned char*)); - FX_Free(m_coord_blocks); + memcpy(new_coords, m_coord_blocks, m_max_blocks * sizeof(float*)); + memcpy(new_cmds, m_cmd_blocks, m_max_blocks * sizeof(unsigned char*)); + FX_Free(m_coord_blocks); } m_coord_blocks = new_coords; m_cmd_blocks = new_cmds; |