Skip to content

Commit

Permalink
actually, it wasn't that hard at all to get sentences to bring up pic…
Browse files Browse the repository at this point in the history
…tures
  • Loading branch information
zhanshi committed Dec 6, 2007
1 parent a016d9d commit 91234a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image/ImageFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public BufferedImage getImage(String text) {
return (BufferedImage) imageCache.get(text);
}
BufferedImage img;
String imgURL = getImageURL(text);
String imgURL = getImageURL(URLEncoder.encode(text));
System.out.println("Fetching image from " + imgURL);
try {
URL url = new URL(imgURL);
Expand Down

0 comments on commit 91234a7

Please sign in to comment.