X-Git-Url: http://git.nikiroo.be/?p=gofetch.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Fsupport%2FSlashdot.java;h=6fb51a6dd32cb5f0bd37692165560ca1fdb915b9;hp=43ce13d023ff498d3a759e9eac884f351d10e79a;hb=64a785f647e030efab3977e0a811e975f05a798f;hpb=c8ecd42c0723073f5ff618a9efa9636e844c271d diff --git a/src/be/nikiroo/gofetch/support/Slashdot.java b/src/be/nikiroo/gofetch/support/Slashdot.java index 43ce13d..6fb51a6 100644 --- a/src/be/nikiroo/gofetch/support/Slashdot.java +++ b/src/be/nikiroo/gofetch/support/Slashdot.java @@ -45,6 +45,10 @@ public class Slashdot extends BasicSupport { id = id.substring("title-".length()); } + while (id.length() < 10) { + id = "0" + id; + } + return id; }