From 363f77a9322d70d665a6741346f870bd6029b3be Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Wed, 10 May 2006 23:29:16 +0000 Subject: [PATCH 1/1] Yo sabia que Java era groso :P --- src/Sorteo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sorteo.java b/src/Sorteo.java index ccf3368..2b2741c 100644 --- a/src/Sorteo.java +++ b/src/Sorteo.java @@ -19,7 +19,7 @@ public class Sorteo extends Observable { while (true) { /* Uso rango de 0 a 100 para que salga alguna vez :P */ - n = r.nextInt () % 100; + n = r.nextInt (100); setChanged (); notifyObservers (); } -- 2.43.0