Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37769796
en ru br
ALT Linux repositórios
S:1.4.3-alt3_25

Group :: Sistema/Bibliotecas
RPM: libst2205

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: st2205tool-1.4.3-width-height-swap.patch
Download


diff -up st2205tool/setpic/main.c~ st2205tool/setpic/main.c
--- st2205tool/setpic/main.c~	2008-01-22 00:53:24.000000000 +0100
+++ st2205tool/setpic/main.c	2011-02-20 10:05:54.659573470 +0100
@@ -53,8 +53,8 @@ int sendpic(st2205_handle *h, char* file
 	return 0;
     }
 
-    for (y=0; y<h->width; y++) {
-	for (x=0; x<h->height; x++) {
+    for (y=0; y<h->height; y++) {
+	for (x=0; x<h->width; x++) {
 	    c = gdImageGetPixel(im, x, y);
 	    if (gdImageTrueColor(im) ) {
 		r=gdTrueColorGetRed(c);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009