summaryrefslogtreecommitdiffstats
path: root/data/paste-m68k.css
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-06-22 15:43:57 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-06-22 15:47:13 +0200
commitce4cfd248b4c1c0d044f607804da6b4b312aa239 (patch)
treea39554e0c0fe9aeb6174c5598667e77b0bbbfcab /data/paste-m68k.css
parentd9947c840bbce291c1cf3f0cb73f0c343686892e (diff)
format_bytes(): fix bug if size=0
If $size is 0 log() will return -INF leading to an "undefined offset" error when trying to get the suffix. We fix this by copying the code from fb-client which handles this issue correctly and will also work for sizes above the biggest suffix (won't happen here, but who cares). Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/paste-m68k.css')
0 files changed, 0 insertions, 0 deletions