projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6e25b2
)
Fix coding style.
author
sf-exg
<sf-exg>
Sat, 30 Jan 2010 20:52:36 +0000
(20:52 +0000)
committer
sf-exg
<sf-exg>
Sat, 30 Jan 2010 20:52:36 +0000
(20:52 +0000)
src/background.C
patch
|
blob
|
history
src/init.C
patch
|
blob
|
history
diff --git
a/src/background.C
b/src/background.C
index
a660d32
..
3054446
100644
(file)
--- a/
src/background.C
+++ b/
src/background.C
@@
-497,7
+497,7
@@
bgPixmap_t::render_asim (ASImage *background, ARGB32 background_tint)
if (background_tint != TINT_LEAVE_SAME)
{
if (background_tint != TINT_LEAVE_SAME)
{
- ASImage
*
tmp = tile_asimage (target->asv, background, 0, 0,
+ ASImage
*
tmp = tile_asimage (target->asv, background, 0, 0,
target_width, target_height, background_tint,
ASA_XImage, 100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
target_width, target_height, background_tint,
ASA_XImage, 100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
@@
-1110,7
+1110,7
@@
bgPixmap_t::set_root_pixmap ()
# endif /* ENABLE_TRANSPARENCY */
# ifndef HAVE_AFTERIMAGE
# endif /* ENABLE_TRANSPARENCY */
# ifndef HAVE_AFTERIMAGE
-static void ShadeXImage(rxvt_term *term, XImage
*
srcImage, int shade, int rm, int gm, int bm);
+static void ShadeXImage(rxvt_term *term, XImage
*
srcImage, int shade, int rm, int gm, int bm);
# endif
bool
# endif
bool
@@
-1167,7
+1167,7
@@
bgPixmap_t::render ()
if (!(background_flags & transpPmapBlured) && (flags & blurNeeded) && background != NULL)
{
if (!(background_flags & transpPmapBlured) && (flags & blurNeeded) && background != NULL)
{
- ASImage
*
tmp = blur_asimage_gauss (target->asv, background, h_blurRadius, v_blurRadius, 0xFFFFFFFF,
+ ASImage
*
tmp = blur_asimage_gauss (target->asv, background, h_blurRadius, v_blurRadius, 0xFFFFFFFF,
(original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage,
100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
(original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage,
100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
@@
-1348,7
+1348,7
@@
bgPixmap_t::apply ()
typedef uint32_t RUINT32T;
static void
typedef uint32_t RUINT32T;
static void
-ShadeXImage(rxvt_term *term, XImage
*
srcImage, int shade, int rm, int gm, int bm)
+ShadeXImage(rxvt_term *term, XImage
*
srcImage, int shade, int rm, int gm, int bm)
{
int sh_r, sh_g, sh_b;
RUINT32T mask_r, mask_g, mask_b;
{
int sh_r, sh_g, sh_b;
RUINT32T mask_r, mask_g, mask_b;
diff --git
a/src/init.C
b/src/init.C
index
9af7bae
..
a476a51
100644
(file)
--- a/
src/init.C
+++ b/
src/init.C
@@
-1160,7
+1160,7
@@
rxvt_term::create_windows (int argc, const char *const *argv)
{
int w = im->width;
int h = im->height;
{
int w = im->width;
int h = im->height;
- long
*
buffer = (long *)malloc ((2 + w * h) * sizeof (long));
+ long
*
buffer = (long *)malloc ((2 + w * h) * sizeof (long));
ASImage *result = scale_asimage (asv, im,
w, h, ASA_ARGB32,
100, ASIMAGE_QUALITY_DEFAULT);
ASImage *result = scale_asimage (asv, im,
w, h, ASA_ARGB32,
100, ASIMAGE_QUALITY_DEFAULT);
@@
-1177,7
+1177,7
@@
rxvt_term::create_windows (int argc, const char *const *argv)
destroy_asimage (&result);
XChangeProperty (dpy, top, xa[XA_NET_WM_ICON], XA_CARDINAL, 32,
destroy_asimage (&result);
XChangeProperty (dpy, top, xa[XA_NET_WM_ICON], XA_CARDINAL, 32,
- PropModeReplace, (const unsigned char*) buffer, 2 + w * h);
+ PropModeReplace, (const unsigned char
*) buffer, 2 + w * h);
free (buffer);
}
else
free (buffer);
}
else