Skip to content

Commit

Permalink
PathMap: Be more generous with built-in fragment buffer
Browse files Browse the repository at this point in the history
Increased the size of the fragment buffer allocated with the PathMap
instance to 24 fragments. Now that PathMap no longer has an integral
path buffer (was 128 bytes) that space is now made available for the
mapping of fragments.
  • Loading branch information
danij-deng committed Jan 17, 2012
1 parent f6cd6d5 commit 64f3e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/include/pathmap.h
Expand Up @@ -34,7 +34,7 @@ typedef struct pathmapfragment_s {
} PathMapFragment;

/// Size of the fixed-length "short" fragment buffer allocated with the map.
#define PATHMAP_FRAGMENTBUFFER_SIZE 8
#define PATHMAP_FRAGMENTBUFFER_SIZE 24

typedef struct pathmap_s {
const char* path; ///< The mapped path.
Expand Down

0 comments on commit 64f3e56

Please sign in to comment.