Skip to content

Commit

Permalink
Fixed prevNya button for images with custom filters
Browse files Browse the repository at this point in the history
  • Loading branch information
LabunskyA committed Feb 4, 2015
1 parent 9c05acf commit a5b2edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Sources/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ void drawNya() throws MalformedURLException {
Boolean check = true;
Checker checker = new Checker();
LittleParser littleParser = new LittleParser();
Zerochan.prevFull = Zerochan.fullURL;
Zerochan.prevURL = Zerochan.nyaURL;

while (check) {
while (check) { //generate at least one time
Expand Down
2 changes: 0 additions & 2 deletions Sources/Zerochan.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ static void generateNumberNya() {

static void generateURLs() {
try {
prevURL = nyaURL;
prevFull = fullURL;
nyaURL = new URL("http://s1.zerochan.net/.600." + Integer.toString(numberNya) + ".jpg");
fullURL = new URL("http://static.zerochan.net/.full." + Integer.toString(numberNya) + ".jpg");
} catch (MalformedURLException ignored) {}
Expand Down

0 comments on commit a5b2edb

Please sign in to comment.